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

◆ equal_container() [2/2]

template<typename Container1, typename Container2, typename BinaryPredicate>
bool fl::equal_container ( const Container1 & c1,
const Container2 & c2,
BinaryPredicate pred )

Definition at line 153 of file algorithm.h.

153 {
154 fl::size size1 = c1.size();
155 fl::size size2 = c2.size();
156 if (size1 != size2) {
157 return false;
158 }
159 return equal(c1.begin(), c1.end(), c2.begin(), c2.end(), pred);
160}
bool equal(Iterator1 first1, Iterator1 last1, Iterator2 first2)
Definition algorithm.h:95

References equal().

+ Here is the call graph for this function: