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

◆ operator=() [2/2]

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

Definition at line 210 of file circular_buffer.h.

210 {
211 if (this != &other) {
213 mCore.assign(mStorage.data(), mStorage.size());
214 mCore.setHead(other.mCore.head());
215 mCore.setTail(other.mCore.tail());
216 mCore.setFull(other.mCore.isFull());
217 }
218 return *this;
219 }
circular_buffer_core< T > mCore
vector_inlined< T,(N > 0 ? N :1)> mStorage

References circular_buffer(), FL_NOEXCEPT, mCore, and mStorage.

+ Here is the call graph for this function: