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

Method operator<

src/fl/stl/multi_map.h:483–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481 }
482
483 bool operator<(const MultiMapTree& other) const {
484 for (auto it1 = begin(), it2 = other.begin(); it1 != end() && it2 != other.end(); ++it1, ++it2) {
485 if (it1->first < it2->first) return true;
486 if (it2->first < it1->first) return false;
487 if (it1->second < it2->second) return true;
488 if (it2->second < it1->second) return false;
489 }
490 return size() < other.size();
491 }
492
493 bool operator<=(const MultiMapTree& other) const {
494 return *this < other || *this == other;

Callers

nothing calls this directly

Calls 6

beginFunction · 0.70
endFunction · 0.70
sizeFunction · 0.70
beginMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected