json/include/nlohmann/detail
郑少锟 87cda1d664
Use std::iterator_traits to extract iterator_category (#3544)
* Use `std::iterator_traits` to extract `iterator_category`

In third-party STL implementations, `array_t::iterator` might be a pointer (e.g., `vector` in [EASTL](https://github.com/electronicarts/EASTL)) rather than a class, in which case directly using `array_t::iterator::iterator_category` is invalid. This commit fixes it with `std::iterator_traits`, which handles pointers correctly.

* add the changes to the single-header version
2022-06-18 19:14:03 +02:00
..
conversions Allow disabling default enum conversions (#3536) 2022-06-16 19:34:32 +02:00
input BJData dimension length can not be string_t::npos, fix #3541 (#3543) 2022-06-18 19:12:22 +02:00
iterators Use std::iterator_traits to extract iterator_category (#3544) 2022-06-18 19:14:03 +02:00
meta Use new CI image (#3528) 2022-06-12 14:31:07 +02:00
output Support UBJSON-derived Binary JData (BJData) format (#3336) 2022-04-29 21:17:30 +02:00
exceptions.hpp Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
hash.hpp 🐛 adding missing header 2021-08-18 13:33:35 +02:00
json_pointer.hpp Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
json_ref.hpp 🚨 add new CI and fix warnings (#2561) 2021-03-24 07:15:18 +01:00
macro_scope.hpp Allow disabling default enum conversions (#3536) 2022-06-16 19:34:32 +02:00
macro_unscope.hpp Allow disabling default enum conversions (#3536) 2022-06-16 19:34:32 +02:00
string_concat.hpp Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
string_escape.hpp Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
value_t.hpp Fix C++20/gcc-12 issues (Part 2) (#3446) 2022-05-29 13:08:06 +02:00