Func

This traits class is intended to be used in pairs to allow efficient and correct move-aware overloads for generic types.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Templates/UnrealTypeTraits.h"

Syntax

*void Func
(
    typename TMoveSupportTraits< T >::Move Obj
)

Remarks

This traits class is intended to be used in pairs to allow efficient and correct move-aware overloads for generic types. For example:

template =""> void Func(typename TMoveSupportTraits::Copy Obj) { // Copy Obj here }

template =""> /** This traits class is intended to be used in pairs to allow efficient and correct move-aware overloads for generic types. For example:

template =""> void Func(typename TMoveSupportTraits::Copy Obj) { // Copy Obj here }

template =""> /**

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