TLinkedListBase::LinkHead

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.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/List.h

Include

#include "Containers/List.h"

Syntax

void LinkHead
(
    ContainerType *& Head
)

Remarks

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.

Parameters

Parameter

Description

Head

Pointer to the head of the linked list - this pointer should be the main reference point for the linked list