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

Method operator==

src/fl/stl/unordered_set.h:154–160  ·  view source on GitHub ↗

Equality comparison (set equality: same elements, order-independent)

Source from the content-addressed store, hash-verified

152
153 /// Equality comparison (set equality: same elements, order-independent)
154 bool operator==(const unordered_set& other) const {
155 if (size() != other.size()) return false;
156 for (const auto& key : *this) {
157 if (!other.has(key)) return false;
158 }
159 return true;
160 }
161
162 /// Inequality comparison
163 bool operator!=(const unordered_set& other) const {

Callers

nothing calls this directly

Calls 3

sizeFunction · 0.70
sizeMethod · 0.45
hasMethod · 0.45

Tested by

no test coverage detected