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

◆ back() [2/2]

template<typename T, typename Container = fl::deque<T>>
const_reference fl::queue< T, Container >::back ( ) const
inline

Access the last element (back of queue) - const version.

Returns
Const reference to the back element
Note
Undefined behavior if queue is empty

Definition at line 86 of file queue.h.

86 {
87 return mContainer.back();
88 }
Container mContainer
Definition queue.h:27

References mContainer.