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

◆ pop_back()

template<typename T, typename Allocator = fl::allocator<T>>
void fl::deque< T, Allocator >::pop_back ( )
inline

Definition at line 326 of file deque.h.

326 {
327 if (mSize > 0) {
329 mAlloc.destroy(&mData[back_index]);
330 --mSize;
331 }
332 }
T * mData
Definition deque.h:19
fl::size get_index(fl::size logical_index) const
Definition deque.h:58
fl::size mSize
Definition deque.h:21
Allocator mAlloc
Definition deque.h:23

Referenced by fl::deque< int >::clear(), and fl::deque< int >::resize().

+ Here is the caller graph for this function: