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

◆ find_if()

template<typename T, typename Allocator = fl::allocator<T>>
template<typename Predicate>
iterator fl::HeapVector< T, Allocator >::find_if ( Predicate pred)
inline

Definition at line 629 of file vector.h.

629 {
630 for (iterator it = begin(); it != end(); ++it) {
631 if (pred(*it)) {
632 return it;
633 }
634 }
635 return end();
636 }