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

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