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.

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss