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

◆ pop_front()

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

Definition at line 33 of file circular_buffer.h.

33 {
34 if (empty()) {
35 return false;
36 }
37 if (dst) {
38 *dst = mBuffer[mTail];
39 }
41 return true;
42 }
fl::size increment(fl::size index) const
fl::scoped_array< T > mBuffer

References empty(), increment(), mBuffer, and mTail.

+ Here is the call graph for this function: