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

◆ find() [1/2]

template<typename Key, typename Allocator = fl::allocator<Key>>
iterator fl::VectorSet< Key, Allocator >::find ( const Key & key)
inline

Definition at line 186 of file set.h.

186 {
187 for (auto it = begin(); it != end(); ++it) {
188 if (*it == key) {
189 return it;
190 }
191 }
192 return end();
193 }
iterator end()
Definition set.h:182
iterator begin()
Definition set.h:181

References begin(), and end().

Referenced by emplace(), erase(), has(), insert(), and insert().

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