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

Method operator==

src/fl/stl/circular_buffer.h:282–288  ·  view source on GitHub ↗

Equality comparison

Source from the content-addressed store, hash-verified

280
281 /// Equality comparison
282 bool operator==(const circular_buffer& other) const {
283 if (size() != other.size()) return false;
284 for (fl::size i = 0; i < size(); ++i) {
285 if (mCore[i] != other.mCore[i]) return false;
286 }
287 return true;
288 }
289
290 /// Inequality comparison
291 bool operator!=(const circular_buffer& other) const {

Callers

nothing calls this directly

Calls 2

sizeFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected