mirror of
https://github.com/nlohmann/json.git
synced 2025-07-13 20:21:48 +03:00
try to avoid MSVC bug (https://connect.microsoft.com/VisualStudio/feedback/details/797682/c-decltype-of-class-member-access-incompletely-implemented)
This commit is contained in:
@ -5702,7 +5702,7 @@ class basic_json
|
||||
/// the container to iterate
|
||||
basic_json& container;
|
||||
/// the type of the iterator to use while iteration
|
||||
using json_iterator = decltype(container.begin());
|
||||
using json_iterator = decltype(std::begin(container));
|
||||
|
||||
/// internal iterator wrapper
|
||||
class iterator_wrapper_internal
|
||||
|
Reference in New Issue
Block a user