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

◆ equal() [3/4]

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

Definition at line 120 of file algorithm.h.

120 {
121 while (first1 != last1 && first2 != last2) {
122 if (*first1 != *first2) {
123 return false;
124 }
125 ++first1;
126 ++first2;
127 }
128 return first1 == last1 && first2 == last2;
129}

References FL_NOEXCEPT.