MakeUnique

Overload list

Windows
MacOS
Linux
Name Description

Public function

TEnableIf<&#...

 

MakeUnique

(
    TArgs&&... Args
)

Allocates a new object of type T with the given arguments and returns it as a TUniquePtr.

Public function

TEnableIf< T...

 

MakeUnique

(
    SIZE_T Size
)

Allocates a new array of type T with the given size and returns it as a TUniquePtr.

Public function

TEnableIf< T...

 

MakeUnique

(
    TArgs&&... Args
)

Overload to cause a compile error when MakeUnique is attempted.

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