TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ insert() [1/3]

template<class Key , class T , class IgnoredLess = std::less<Key>, class Allocator = std::allocator<std::pair<const Key, T>>>
std::pair< iterator, bool > nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::insert ( const value_type &  value)
inline

Definition at line 17731 of file json.hpp.

17732 {
17733 for (auto it = this->begin(); it != this->end(); ++it)
17734 {
17735 if (it->first == value.first)
17736 {
17737 return {it, false};
17738 }
17739 }
17740
17741 Container::push_back(value);
17742 return {--this->end(), true};
17743 }
@ value
the parser finished reading a JSON value