TArray

Overload list

Windows
MacOS
Linux
Name Description

Public function

TArray()

Constructor, initializes element number counters.

Public function

TArray

(
    std::initializer_list< InElementType > InitList
)

Initializer list constructor

Public function

TArray

(
    const TArray< OtherElementType, OtherAllocator >& Other
)

Copy constructor with changed allocator. Use the common routine to perform the copy.

Public function

TArray

(
    const TArray& Other
)

Copy constructor. Use the common routine to perform the copy.

Public function

TArray

(
    TArray&& Other
)

Move constructor.

Public function

TArray

(
    TArray< OtherElementType, OtherAllocator >&& Other
)

Move constructor.

Public function

TArray

(
    const ElementType* Ptr,
    SizeType Count
)

Constructor from a raw array of elements.

Public function

TArray

(
    const TArray& Other,
    SizeType ExtraSlack
)

Copy constructor. Use the common routine to perform the copy.

Public function

TArray

(
    TArray< OtherElementType, Allocator >&& Other,
    SizeType ExtraSlack
)

Move constructor.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback