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

◆ find() [1/2]

template<typename T, typename Allocator = fl::allocator<T>>
iterator fl::HeapVector< T, Allocator >::find ( const T & value)
inline

Definition at line 535 of file vector.h.

535 {
536 for (iterator it = begin(); it != end(); ++it) {
537 if (*it == value) {
538 return it;
539 }
540 }
541 return end();
542 }

Referenced by fl::HeapVector< DrawItem >::erase(), and fl::HeapVector< DrawItem >::has().

+ Here is the caller graph for this function: