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

◆ emplace_front()

template<typename T>
template<typename... Args>
bool fl::circular_buffer_core< T >::emplace_front ( Args &&... args)
inline

Definition at line 86 of file circular_buffer.h.

86 {
87 if (mCapacity == 0) return false;
88 if (mFull) {
89 // Overwrite newest: retreat head
91 }
94 if (mHead == mTail) {
95 mFull = true;
96 }
97 return true;
98 }
fl::size decrement(fl::size index) const

References args, decrement(), fl::fl::forward(), mCapacity, mData, mFull, mHead, and mTail.

+ Here is the call graph for this function: