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

◆ operator=() [1/2]

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

Definition at line 221 of file circular_buffer.h.

221 {
222 if (this != &other) {
224 mCore.assign(mStorage.data(), mStorage.size());
225 mCore.setHead(other.mCore.head());
226 mCore.setTail(other.mCore.tail());
227 mCore.setFull(other.mCore.isFull());
228 other.mCore.assign(nullptr, 0);
229 }
230 return *this;
231 }
circular_buffer_core< T > mCore
vector_inlined< T,(N > 0 ? N :1)> mStorage
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition s16x16x4.h:28

References circular_buffer(), FL_NOEXCEPT, mCore, fl::fl::move(), and mStorage.

+ Here is the call graph for this function: