FastLED 3.9.15
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_NOEXCEPT
size_type find_index(const Key &key) const FL_NOEXCEPT

References find_index(), FL_NOEXCEPT, mData, and npos().

+ Here is the call graph for this function: