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

◆ swap()

template<typename T>
void fl::list< T >::swap ( list< T > & other)
inline

Definition at line 428 of file list.h.

428 {
429 if (this != &other) {
433
434 mHead = other.mHead;
435 mSize = other.mSize;
437
441 }
442 }
memory_resource * mResource
Definition list.h:34
Node * mHead
Definition list.h:32
fl::size mSize
Definition list.h:33
A doubly-linked list container.
Definition list.h:21

References list(), mHead, mResource, and mSize.

Referenced by list(), operator=(), and fl::swap().

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