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

◆ find() [2/2]

template<typename Key, typename Value, fl::size N>
iterator fl::unsorted_map_fixed< Key, Value, N >::find ( const Key & key)
inline

Definition at line 40 of file map.h.

40 {
41 for (auto it = begin(); it != end(); ++it) {
42 if (it->first == key) {
43 return it;
44 }
45 }
46 return end();
47 }
iterator begin() FL_NO_EXCEPT
Definition map.h:35
iterator end() FL_NO_EXCEPT
Definition map.h:36

References begin(), end(), and fl::FL_NO_EXCEPT.

Referenced by erase(), get(), get(), has(), insert(), insert(), next(), operator[](), operator[](), prev(), update(), and update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: