9 template<
typename WrappedType >
32 m_resource = other.m_resource;
33 other.m_resource =
nullptr;
45 other.m_ptr =
nullptr;
UPtr(WrappedType *ptr)
Definition: UPtr.h:20
UPtr(UPtr< WrappedType > &&other)
Definition: UPtr.h:28
WrappedType * m_ptr
Definition: UPtr.h:13
~UPtr()
Definition: UPtr.h:24
void operator=(UPtr< WrappedType > &&other)
Definition: UPtr.h:40
void AssignPointer(WrappedType *ptr)
Definition: UPtr.h:58
void ReleaseResource()
Definition: UPtr.h:51
UPtr()
Definition: UPtr.h:16
void operator=(const UPtr< WrappedType > &other)=delete