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

◆ get() [1/2]

template<typename Key, typename Value, typename Equal = fl::SmallMapEqualTo<Key>>
Value fl::unordered_map_small< Key, Value, Equal >::get ( const Key & key,
const Value & defaultValue ) const
inline

Definition at line 411 of file unordered_map_small.h.

411 {
413 return idx != npos() ? mData[idx].second : defaultValue;
414 }
static size_type npos() FL_NO_EXCEPT
size_type find_index(const Key &key) const FL_NO_EXCEPT

References find_index(), fl::FL_NO_EXCEPT, mData, and npos().

+ Here is the call graph for this function: