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

◆ equal() [4/4]

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

Definition at line 132 of file algorithm.h.

132 {
133 while (first1 != last1 && first2 != last2) {
134 if (!pred(*first1, *first2)) {
135 return false;
136 }
137 ++first1;
138 ++first2;
139 }
140 return first1 == last1 && first2 == last2;
141}

References FL_NOEXCEPT.