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

◆ find() [1/2]

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

Definition at line 49 of file map.h.

49 {
50 for (auto it = begin(); it != end(); ++it) {
51 if (it->first == key) {
52 return it;
53 }
54 }
55 return end();
56 }
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.

+ Here is the call graph for this function: