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 647 of file list.h.

647 {
648 for (const_iterator it1 = begin(), it2 = other.begin();
649 it1 != end() && it2 != other.end(); ++it1, ++it2) {
650 if (*it1 < *it2) {
651 return true;
652 }
653 if (*it1 > *it2) {
654 return false;
655 }
656 }
657 return mSize < other.mSize;
658 }
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: