Copy

Param type is not an const lvalue reference, which means it's pass-by-value, so we should just provide a single type for copying.

Windows
MacOS
Linux

Type

typedef U Copy

References

Module

Core

Header

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

Include

#include "Templates/UnrealTypeTraits.h"

Remarks

Param type is not an const lvalue reference, which means it's pass-by-value, so we should just provide a single type for copying. Move overloads will be ignored due to SFINAE.

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