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

◆ find() [1/2]

template<typename Key, typename T, typename Hash = Hash<Key>, typename KeyEqual = EqualTo<Key>, int INLINED_COUNT = FASTLED_HASHMAP_INLINED_COUNT>
iterator fl::HashMap< Key, T, Hash, KeyEqual, INLINED_COUNT >::find ( const Key & key)
inline

Definition at line 339 of file hash_map.h.

339 {
340 auto idx = find_index(key);
341 return idx == npos() ? end() : iterator(this, idx);
342 }
iterator end()
Definition hash_map.h:211
static fl::size npos()
Definition hash_map.h:408
fl::size find_index(const Key &key) const
Definition hash_map.h:510