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

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