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

◆ find() [1/2]

template<typename Key, size_t N>
iterator fl::FixedSet< Key, N >::find ( const Key & key)
inline

Definition at line 39 of file set.h.

39 {
40 for (auto it = begin(); it != end(); ++it) {
41 if (*it == key) {
42 return it;
43 }
44 }
45 return end();
46 }
iterator end()
Definition set.h:29
iterator begin()
Definition set.h:26

References begin(), and end().

Referenced by erase(), has(), insert(), next(), and prev().

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