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

◆ get() [2/2]

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

Definition at line 416 of file unordered_map_small.h.

416 {
418 if (idx != npos()) {
419 *out_value = mData[idx].second;
420 return true;
421 }
422 return false;
423 }
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: