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::HashMapLru< Key, T, Hash, KeyEqual, INLINED_COUNT >::find_value ( const Key & key) const
inline

Definition at line 87 of file hash_map_lru.h.

87 {
88 const ValueWithTimestamp *vwt = mMap.find_value(key);
89 return vwt ? &vwt->value : nullptr;
90 }
HashMap< Key, ValueWithTimestamp, Hash, KeyEqual, INLINED_COUNT > mMap

References mMap, and fl::HashMapLru< Key, T, Hash, KeyEqual, INLINED_COUNT >::ValueWithTimestamp::value.