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 553 of file vector.h.

553 {
554 for (iterator it = begin(); it != end(); ++it) {
555 if (pred(*it)) {
556 return it;
557 }
558 }
559 return end();
560 }