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

◆ front() [2/2]

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

Access the first element (front of queue) - const version.

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

Definition at line 72 of file queue.h.

72 {
73 return mContainer.front();
74 }
Container mContainer
Definition queue.h:27

References mContainer.