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

◆ init_sentinel()

template<typename T>
void fl::list< T >::init_sentinel ( )
inlineprivate

Definition at line 36 of file list.h.

36 {
37 mHead = static_cast<Node*>(mResource->allocate(sizeof(Node)));
38 mHead->next = mHead;
39 mHead->prev = mHead;
40 mSize = 0;
41 }
memory_resource * mResource
Definition list.h:34
Node * mHead
Definition list.h:32
fl::size mSize
Definition list.h:33

References mHead, mResource, and mSize.

Referenced by list(), list(), list(), list(), list(), and list().

+ Here is the caller graph for this function: