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

◆ emplace()

template<typename T, typename Container = fl::deque<T>>
template<typename... Args>
void fl::queue< T, Container >::emplace ( Args &&... args)
inline

Construct and add an element to the back of the queue.

Template Parameters
ArgsArgument types for element construction
Parameters
argsArguments to forward to element constructor

Definition at line 117 of file queue.h.

117 {
118 mContainer.emplace_back(fl::forward<Args>(args)...);
119 }
Container mContainer
Definition queue.h:26
A first-in, first-out (FIFO) queue container adapter.
Definition queue.h:17

References args, fl::fl::forward(), and mContainer.

+ Here is the call graph for this function: