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

◆ insert() [1/2]

template<typename T>
iterator fl::list< T >::insert ( iterator pos,
const T & value )
inline

Definition at line 338 of file list.h.

338 {
340 link_before(pos.mNode, new_node);
341 ++mSize;
342 return iterator(new_node);
343 }
void link_before(Node *pos, Node *node)
Definition list.h:69
Node * create_node(const T &value)
Definition list.h:50
fl::size mSize
Definition list.h:33
A doubly-linked list container.
Definition list.h:21

References create_node(), link_before(), mSize, pos, and fl::type_rank< T >::value.

Referenced by push_back(), push_back(), push_front(), and push_front().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: