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:
parent
fadccc34eb
commit
6f2da1a39a
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue