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

◆ pop_back()

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

Definition at line 100 of file circular_buffer.h.

100 {
101 if (empty()) {
102 return false;
103 }
105 if (dst) {
106 *dst = fl::move(mData[mHead]);
107 }
108 mData[mHead] = T();
109 mFull = false;
110 return true;
111 }
fl::size decrement(fl::size index) const
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition s16x16x4.h:28

References decrement(), empty(), mData, mFull, mHead, and fl::fl::move().

+ Here is the call graph for this function: