12178 {
12179
12180 if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object))
12181 {
12182 JSON_THROW(invalid_iterator::create(212, "cannot compare iterators of different containers", *m_object));
12183 }
12184
12185 JSON_ASSERT(m_object != nullptr);
12186
12187 switch (m_object->m_type)
12188 {
12190 JSON_THROW(invalid_iterator::create(213, "cannot compare order of object iterators", *m_object));
12191
12194
12203 default:
12205 }
12206 }
internal_iterator< typename std::remove_const< BasicJsonType >::type > m_it
the actual iterator of the associated instance
@ number_integer
number value (signed integer)
@ discarded
discarded by the parser callback function
@ binary
binary array (ordered collection of bytes)
@ object
object (unordered set of name/value pairs)
@ number_float
number value (floating-point)
@ number_unsigned
number value (unsigned integer)
@ array
array (ordered collection of values)
primitive_iterator_t primitive_iterator
generic iterator for all other types
BasicJsonType::array_t::iterator array_iterator
iterator for JSON arrays