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

◆ pop_front()

template<typename T>
bool fl::circular_buffer_core< T >::pop_front ( T * dst = nullptr)
inline

Definition at line 58 of file circular_buffer.h.

58 {
59 if (empty()) {
60 return false;
61 }
62 if (dst) {
64 }
65 mData[mTail] = T();
67 mFull = false;
68 return true;
69 }
fl::size increment(fl::size index) const
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition s16x16x4.h:28

References empty(), increment(), mData, mFull, fl::fl::move(), and mTail.

Referenced by clear().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: