TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ at() [2/2]

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

Definition at line 17638 of file json.hpp.

17639 {
17640 for (auto it = this->begin(); it != this->end(); ++it)
17641 {
17642 if (it->first == key)
17643 {
17644 return it->second;
17645 }
17646 }
17647
17648 JSON_THROW(std::out_of_range("key not found"));
17649 }