FastLED 3.9.15
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>
const T * fl::HashMap< Key, T, Hash, KeyEqual, INLINED_COUNT >::find_value ( const Key & key) const
inline

Definition at line 334 of file hash_map.h.

334 {
335 auto idx = find_index(key);
336 return idx == npos() ? nullptr : &_buckets[idx].value;
337 }
static fl::size npos()
Definition hash_map.h:408
fl::size find_index(const Key &key) const
Definition hash_map.h:510
FL_DISABLE_WARNING_POP fl::vector_inlined< Entry, INLINED_COUNT > _buckets
Definition hash_map.h:701