Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Templates/UnrealTemplate.h |
Include |
#include "Templates/UnrealTemplate.h" |
template<typename T>
T CopyTemp
(
T & Val
)
CopyTemp will enforce the creation of an rvalue which can bind to rvalue reference parameters. Unlike MoveTemp, the source object will never be modifed. (i.e. a copy will be made) There is no std:: equivalent.