TArray::operator[]

Array bracket operator. Returns reference to element at give index. Const version of the above.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Containers/Array.h"

Syntax

const ElementType & operator[]
(
    SizeType Index
) const

Remarks

Array bracket operator. Returns reference to element at give index.

Const version of the above.

Returns

Reference to indexed element.

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