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 30 of file set.h.

30 {
31 for (auto it = begin(); it != end(); ++it) {
32 if (*it == key) {
33 return it;
34 }
35 }
36 return end();
37 }
iterator end()
Definition set.h:26
iterator begin()
Definition set.h:25

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: