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

◆ emplace_back()

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

Definition at line 44 of file circular_buffer.h.

44 {
45 if (mCapacity == 0) return false;
46 if (mFull) {
47 // Overwrite oldest: advance tail
49 }
52 if (mHead == mTail) {
53 mFull = true;
54 }
55 return true;
56 }
fl::size increment(fl::size index) const

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

+ Here is the call graph for this function: