* 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 |
||
|---|---|---|
| .. | ||
| conversions | ||
| input | ||
| iterators | ||
| meta | ||
| output | ||
| exceptions.hpp | ||
| hash.hpp | ||
| json_pointer.hpp | ||
| json_ref.hpp | ||
| macro_scope.hpp | ||
| macro_unscope.hpp | ||
| string_concat.hpp | ||
| string_escape.hpp | ||
| value_t.hpp | ||