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

◆ find() [2/2]

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

Definition at line 195 of file set.h.

195 {
196 for (auto it = begin(); it != end(); ++it) {
197 if (*it == key) {
198 return it;
199 }
200 }
201 return end();
202 }
iterator end()
Definition set.h:182
iterator begin()
Definition set.h:181

References begin(), and end().

+ Here is the call graph for this function: