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

◆ find_value() [2/2]

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

Definition at line 616 of file unordered_map.h.

616 {
617 auto idx = find_index(key);
618 return idx == npos() ? nullptr : &_buckets[idx].value;
619 }
static fl::size npos() FL_NO_EXCEPT
fl::vector_inlined< Entry, INLINED_COUNT > _buckets
fl::size find_index(const Key &key) const FL_NO_EXCEPT