FastLED 3.10.8
Loading...
Searching...
No Matches

◆ at() [1/2]

template<typename Key, typename T, typename Hash = Hash<Key>, typename KeyEqual = EqualTo<Key>, int INLINED_COUNT = FASTLED_HASHMAP_INLINED_COUNT>
const T & fl::unordered_map< Key, T, Hash, KeyEqual, INLINED_COUNT >::at ( const Key & key) const
inline

Definition at line 648 of file unordered_map.h.

648 {
649 const T* value = find_value(key);
650 FASTLED_ASSERT(value != nullptr, "unordered_map::at: key not found");
651 return *value;
652 }
T * find_value(const Key &key) FL_NO_EXCEPT