Lines Matching defs:last

578                     // move the last item to local variable to be processed
1020 basic_json(InputIT first, InputIT last)
1023 JSON_ASSERT(last.m_object != nullptr);
1026 if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
1044 || !last.m_it.primitive_iterator.is_end()))
1095 last.m_it.object_iterator);
1102 last.m_it.array_iterator);
2394 /// @brief access the last element
2403 /// @brief access the last element
2487 IteratorType erase(IteratorType first, IteratorType last)
2490 if (JSON_HEDLEY_UNLIKELY(this != first.m_object || this != last.m_object))
2507 || !last.m_it.primitive_iterator.is_end()))
2535 last.m_it.object_iterator);
2542 last.m_it.array_iterator);
2781 /// @brief returns an iterator to one past the last element
2790 /// @brief returns an iterator to one past the last element
2797 /// @brief returns an iterator to one past the last element
2834 /// @brief returns a const reverse iterator to the last element
3324 iterator insert(const_iterator pos, const_iterator first, const_iterator last)
3339 if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
3350 return insert_iterator(pos, first.m_it.array_iterator, last.m_it.array_iterator);
3375 void insert(const_iterator first, const_iterator last)
3384 if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
3392 JSON_THROW(invalid_iterator::create(202, "iterators first and last must point to objects", this));
3395 m_value.object->insert(first.m_it.object_iterator, last.m_it.object_iterator);
3407 void update(const_iterator first, const_iterator last, bool merge_objects = false)
3423 if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
3434 for (auto it = first; it != last; ++it)
4023 IteratorType last,
4029 parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions, ignore_comments).parse(true, result);
4057 static bool accept(IteratorType first, IteratorType last,
4060 return parser(detail::input_adapter(std::move(first), std::move(last)), nullptr, false, ignore_comments).accept(true);
4090 static bool sax_parse(IteratorType first, IteratorType last, SAX* sax,
4095 auto ia = detail::input_adapter(std::move(first), std::move(last));
4345 static basic_json from_cbor(IteratorType first, IteratorType last,
4352 auto ia = detail::input_adapter(std::move(first), std::move(last));
4403 static basic_json from_msgpack(IteratorType first, IteratorType last,
4409 auto ia = detail::input_adapter(std::move(first), std::move(last));
4457 static basic_json from_ubjson(IteratorType first, IteratorType last,
4463 auto ia = detail::input_adapter(std::move(first), std::move(last));
4512 static basic_json from_bjdata(IteratorType first, IteratorType last,
4518 auto ia = detail::input_adapter(std::move(first), std::move(last));
4542 static basic_json from_bson(IteratorType first, IteratorType last,
4548 auto ia = detail::input_adapter(std::move(first), std::move(last));