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

◆ find() [2/2]

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

Definition at line 264 of file hash_map.h.

264 {
265 auto idx = find_index(key);
266 return idx == npos ? end() : const_iterator(this, idx);
267 }
iterator end()
Definition hash_map.h:177
static constexpr size_t npos
Definition hash_map.h:291
size_t find_index(const Key &key) const
Definition hash_map.h:391