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

◆ push_back()

template<typename T>
bool fl::DynamicCircularBuffer< T >::push_back ( const T & value)
inline

Definition at line 60 of file circular_buffer.h.

60 {
61 if (full()) {
62 mTail = increment(mTail); // Overwrite the oldest element
63 }
66 return true;
67 }
fl::size increment(fl::size index) const
fl::scoped_array< T > mBuffer

References full(), increment(), mBuffer, mHead, and mTail.

+ Here is the call graph for this function: