TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ at() [1/2]

template<class Key , class T , class IgnoredLess = std::less<Key>, class Allocator = std::allocator<std::pair<const Key, T>>>
T & nlohmann::ordered_map< Key, T, IgnoredLess, Allocator >::at ( const Key &  key)
inline

Definition at line 17625 of file json.hpp.

17626 {
17627 for (auto it = this->begin(); it != this->end(); ++it)
17628 {
17629 if (it->first == key)
17630 {
17631 return it->second;
17632 }
17633 }
17634
17635 JSON_THROW(std::out_of_range("key not found"));
17636 }