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

◆ find_if()

template<typename Iterator, typename UnaryPredicate>
Iterator fl::find_if ( Iterator first,
Iterator last,
UnaryPredicate pred )

Definition at line 223 of file algorithm.h.

223 {
224 while (first != last) {
225 if (pred(*first)) {
226 return first;
227 }
228 ++first;
229 }
230 return last;
231}

References FL_NOEXCEPT.