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

◆ equal() [2/4]

template<typename Iterator1, typename Iterator2, typename BinaryPredicate>
bool fl::equal ( Iterator1 first1,
Iterator1 last1,
Iterator2 first2,
BinaryPredicate pred )

Definition at line 108 of file algorithm.h.

108 {
109 while (first1 != last1) {
110 if (!pred(*first1, *first2)) {
111 return false;
112 }
113 ++first1;
114 ++first2;
115 }
116 return true;
117}

References FL_NOEXCEPT.