MCPcopy Create free account
hub / github.com/FastLED/FastLED / operator<

Method operator<

src/fl/stl/list.h:647–658  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645 }
646
647 bool operator<(const list& other) const {
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 }
659
660 bool operator<=(const list& other) const {
661 return *this < other || *this == other;

Callers

nothing calls this directly

Calls 4

beginFunction · 0.70
endFunction · 0.70
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected