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

◆ push_front()

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

Definition at line 80 of file circular_buffer.h.

80 {
81 if (full()) {
82 mHead = decrement(mHead); // Overwrite the oldest element
83 }
86 return true;
87 }
fl::size decrement(fl::size index) const
fl::scoped_array< T > mBuffer

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

+ Here is the call graph for this function: