FastLED 3.9.15
Loading...
Searching...
No Matches

◆ operator==()

template<typename T, fl::size N = 0>
bool fl::circular_buffer< T, N >::operator== ( const circular_buffer< T, N > & other) const
inline

Equality comparison.

Definition at line 282 of file circular_buffer.h.

282 {
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 }
circular_buffer_core< T > mCore
fl::size size() const

References circular_buffer(), mCore, and size().

+ Here is the call graph for this function: