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

◆ operator==()

template<typename T>
bool fl::list< T >::operator== ( const list< T > & other) const
inline

Definition at line 631 of file list.h.

631 {
632 if (mSize != other.mSize) {
633 return false;
634 }
635 for (const_iterator it1 = begin(), it2 = other.begin(); it1 != end(); ++it1, ++it2) {
636 if (!(*it1 == *it2)) {
637 return false;
638 }
639 }
640 return true;
641 }
iterator end()
Definition list.h:281
iterator begin()
Definition list.h:273
fl::size mSize
Definition list.h:33
A doubly-linked list container.
Definition list.h:21

References list(), begin(), end(), and mSize.

+ Here is the call graph for this function: