TDoubleLinkedList::InsertNode

Insert the specified value into the list at an arbitrary point.

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

bool InsertNode
(
    const ElementType & InElement,
    TDoubleLinkedListNode * NodeToInsertBefore
)

Remarks

Insert the specified value into the list at an arbitrary point.

Returns

whether the node was successfully added into the list

Parameters

Parameter

Description

InElement

the value to insert into the list

NodeToInsertBefore

the new node will be inserted into the list at the current location of this node if nullptr, the new node will become the new head of the list

See Also