Lines Matching refs:iterators
3230 // #include <nlohmann/detail/iterators/iterator_traits.hpp>
4449 /// @brief exception indicating errors with iterators
5075 // #include <nlohmann/detail/iterators/iteration_proxy.hpp>
6093 // #include <nlohmann/detail/iterators/iterator_traits.hpp>
12607 // #include <nlohmann/detail/iterators/internal_iterator.hpp>
12620 // #include <nlohmann/detail/iterators/primitive_iterator.hpp>
12779 // #include <nlohmann/detail/iterators/iter_impl.hpp>
12795 // #include <nlohmann/detail/iterators/internal_iterator.hpp>
12797 // #include <nlohmann/detail/iterators/primitive_iterator.hpp>
12818 This class implements a both iterators (iterator and const_iterator) for the
12823 **The library uses assertions to detect calls on uninitialized iterators.**
12830 iterators in version 3.0.0 (see https://github.com/nlohmann/json/issues/593)
12851 "basic_json iterator assumes array and object type iterators satisfy the LegacyBidirectionalIterator named requirement.");
12855 /// The C++ Standard has never required user-defined iterators to derive from std::iterator.
12858 /// Note that value_type is required to be non-const, even for constant iterators.
12863 /// a type to represent differences between iterators
13260 JSON_THROW(invalid_iterator::create(212, "cannot compare iterators of different containers", m_object));
13305 JSON_THROW(invalid_iterator::create(212, "cannot compare iterators of different containers", m_object));
13313 JSON_THROW(invalid_iterator::create(213, "cannot compare order of object iterators", m_object));
13369 JSON_THROW(invalid_iterator::create(209, "cannot use offsets with object iterators", m_object));
13448 JSON_THROW(invalid_iterator::create(209, "cannot use offsets with object iterators", m_object));
13477 JSON_THROW(invalid_iterator::create(208, "cannot use operator[] for object iterators", m_object));
13517 JSON_THROW(invalid_iterator::create(207, "cannot use key() for non-object iterators", m_object));
13539 // #include <nlohmann/detail/iterators/iteration_proxy.hpp>
13541 // #include <nlohmann/detail/iterators/json_reverse_iterator.hpp>
13674 // #include <nlohmann/detail/iterators/primitive_iterator.hpp>
19389 /// a type to represent differences between iterators
20206 JSON_THROW(invalid_iterator::create(201, "iterators are not compatible", nullptr));
20224 JSON_THROW(invalid_iterator::create(204, "iterators out of range", first.m_object));
20293 JSON_THROW(invalid_iterator::create(206, detail::concat("cannot construct with iterators from ", first.m_object->type_name()), first.m_object));
21670 JSON_THROW(invalid_iterator::create(203, "iterators do not fit current value", this));
21687 JSON_THROW(invalid_iterator::create(204, "iterators out of range", this));
21928 // iterators //
21931 /// @name iterators
22516 // check if range iterators belong to the same JSON object
22519 JSON_THROW(invalid_iterator::create(210, "iterators do not fit", this));
22524 JSON_THROW(invalid_iterator::create(211, "passed iterators may not belong to container", this));
22561 // check if range iterators belong to the same JSON object
22564 JSON_THROW(invalid_iterator::create(210, "iterators do not fit", this));
22567 // passed iterators must belong to objects
22570 JSON_THROW(invalid_iterator::create(202, "iterators first and last must point to objects", this));
22600 // check if range iterators belong to the same JSON object
22603 JSON_THROW(invalid_iterator::create(210, "iterators do not fit", this));
22606 // passed iterators must belong to objects
23196 /// @brief deserialize from a pair of character iterators