TFunction_CopyableOwnedObject

Implementation of [IFunction_OwnedObject](API\Runtime\Core\Templates\IFunction_OwnedObject) for a given copyable T.

Windows
MacOS
Linux

Inheritance Hierarchy

TChooseClass< bOnHeap, IFunction_OwnedObject_OnHeap< T >, IFunction_OwnedObject_Inline< T > >::Result

TFunction_OwnedObject

TFunction_CopyableOwnedObject

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/Function.h

Include

#include "Templates/Function.h"

Syntax

template<typename T, bool bOnHeap>
struct TFunction_CopyableOwnedObject : public UE4Function_Private::TFunction_OwnedObject< T, bOnHeap >

Remarks

Implementation of IFunction_OwnedObject for a given copyable T.

Constructors

Name Description

Public function

TFunction_CopyableOwnedObject

(
    const T& InObj
)

Constructor which creates its T by copying.

Public function

TFunction_CopyableOwnedObject

(
    T&& InObj
)

Constructor which creates its T by moving.

Functions

Name Description

Public function Const

void *

 

CloneToEmptyStorage

(
    void* UntypedStorage
)

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