FastLED 3.9.15
Loading...
Searching...
No Matches

◆ at() [1/2]

template<typename Key, typename Value, typename Less = fl::less<Key>>
Value & fl::SortedHeapMap< Key, Value, Less >::at ( const Key & key)
inline

Definition at line 345 of file map.h.

345 {
346 iterator it = find(key);
347 FASTLED_ASSERT(it != end(), "SortedHeapMap::at: key not found");
348 return it->second;
349 }
iterator end()
Definition map.h:316
SortedHeapVector< value_type, PairLess >::iterator iterator
Definition map.h:306
iterator find(const Key &key)
Definition map.h:416