Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TLinkedListBase
Description
Adds this element as the head of the linked list, linking the input Head pointer to this element, so that when the element is linked/unlinked, the Head linked list pointer will be correctly updated.
If Head already has an element, this functions like LinkBefore.
| Name | LinkHead |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Containers/List.h |
| Include Path | #include "Containers/List.h" |
void LinkHead
(
ContainerType *& Head
)
Parameters
| Name | Remarks |
|---|---|
| Head | Pointer to the head of the linked list - this pointer should be the main reference point for the linked list |