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

Method operator==

src/fl/stl/multi_map.h:469–477  ·  view source on GitHub ↗

Comparison operators

Source from the content-addressed store, hash-verified

467
468 // Comparison operators
469 bool operator==(const MultiMapTree& other) const {
470 if (size() != other.size()) return false;
471 for (auto it1 = begin(), it2 = other.begin(); it1 != end(); ++it1, ++it2) {
472 if (it1->first != it2->first || it1->second != it2->second) {
473 return false;
474 }
475 }
476 return true;
477 }
478
479 bool operator!=(const MultiMapTree& other) const {
480 return !(*this == other);

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected