mirror of
https://github.com/nlohmann/json.git
synced 2025-07-28 12:02:00 +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
|
/// the container to iterate
|
||||||
basic_json& container;
|
basic_json& container;
|
||||||
/// the type of the iterator to use while iteration
|
/// 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
|
/// internal iterator wrapper
|
||||||
class iterator_wrapper_internal
|
class iterator_wrapper_internal
|
||||||
|
@ -5702,7 +5702,7 @@ class basic_json
|
|||||||
/// the container to iterate
|
/// the container to iterate
|
||||||
basic_json& container;
|
basic_json& container;
|
||||||
/// the type of the iterator to use while iteration
|
/// 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
|
/// internal iterator wrapper
|
||||||
class iterator_wrapper_internal
|
class iterator_wrapper_internal
|
||||||
|
Reference in New Issue
Block a user