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

◆ emplace_back()

template<typename T>
template<typename... Args>
void fl::list< T >::emplace_back ( Args &&... args)
inline

Definition at line 388 of file list.h.

388 {
389 Node* node = static_cast<Node*>(mResource->allocate(sizeof(Node)));
390 new (node) Node(fl::forward<Args>(args)...);
392 ++mSize;
393 }
memory_resource * mResource
Definition list.h:34
Node * mHead
Definition list.h:32
void link_before(Node *pos, Node *node)
Definition list.h:69
fl::size mSize
Definition list.h:33
A doubly-linked list container.
Definition list.h:21

References args, fl::fl::forward(), link_before(), mHead, mResource, and mSize.

+ Here is the call graph for this function: