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 131 of file algorithm.h.

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