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

193 {
194 fl::size size1 = c1.size();
195 fl::size size2 = c2.size();
196 if (size1 != size2) {
197 return false;
198 }
199 return equal(c1.begin(), c1.end(), c2.begin(), c2.end(), pred);
200}
bool equal(Iterator1 first1, Iterator1 last1, Iterator2 first2) FL_NOEXCEPT
Definition algorithm.h:96

References equal(), and FL_NOEXCEPT.

+ Here is the call graph for this function: