struct ecs::TPointerToTemporary

template<typename Type>

Moves a temporary value into the structure so may be passed around and accessed as if it was a pointer.

Public

Constructors

TPointerToTemporary<Type>

constexpr TPointerToTemporary<Type>(Type &&value)

Operators

operator->

constexpr Type *operator->() noexcept

operator*

constexpr Type &operator*() noexcept

Private

Fields

mValue

Type mValue