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

Method operator<

src/fl/stl/multi_set.h:373–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371 }
372
373 bool operator<(const MultiSetTree& other) const {
374 for (auto it1 = begin(), it2 = other.begin(); it1 != end() && it2 != other.end(); ++it1, ++it2) {
375 if (*it1 < *it2) return true;
376 if (*it2 < *it1) return false;
377 }
378 return size() < other.size();
379 }
380
381 bool operator<=(const MultiSetTree& other) const {
382 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