56 static_assert(
AllowNull,
"Unnecessary conversion!");
57 ULANG_ASSERTF(_Object,
"Converting null pointer to reference!");
62 static_assert(
AllowNull,
"Unnecessary conversion!");
63 ULANG_ASSERTF(_Object,
"Converting null pointer to reference!");
68 static_assert(
AllowNull,
"Unnecessary conversion!");
69 ULANG_ASSERTF(_Object,
"Converting null pointer to reference!");
81 template<
class OtherObjectType,
bool OtherAllowNull>
83 template<
class OtherObjectType,
bool OtherAllowNull>
86 template<
class OtherObjectType,
bool OtherAllowNull>
88 template<
class OtherObjectType,
bool OtherAllowNull>
91 template<
class OtherObjectType,
bool OtherAllowNull>
93 template<
class OtherObjectType,
bool OtherAllowNull>
96 template<
class OtherObjectType,
bool OtherAllowNull>
98 template<
class OtherObjectType,
bool OtherAllowNull>
118 template<
class OtherObjectType,
bool OtherAllowNull>
126 _Object =
Other._Object;
127 _Allocator =
Other._Allocator;
128 Other._Object =
nullptr;
136 _Object->~ObjectType();
137 _Allocator.Deallocate(_Object);
145 AllocatorType _Allocator;
149template<
class ObjectType>
153template<
class ObjectType>
157template<
class ObjectType>
161template<
class ObjectType>
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
const bool
Definition NetworkReplayStreaming.h:178
#define ULANG_FORCEINLINE
Definition Common.h:188
#define ULANG_ASSERTF(expr, format,...)
Definition Common.h:290
Definition UniquePointerArray.h:16
Definition UniquePointer.h:15
ULANG_FORCEINLINE bool operator==(NullPtrType) const
Definition UniquePointer.h:79
ULANG_FORCEINLINE bool IsValid() const
Definition UniquePointer.h:106
ULANG_FORCEINLINE bool operator!() const
Definition UniquePointer.h:105
ULANG_FORCEINLINE TUPtrG(NullPtrType NullPtr=nullptr)
Definition UniquePointer.h:20
ULANG_FORCEINLINE ~TUPtrG()
Definition UniquePointer.h:24
ULANG_FORCEINLINE const TUPtrG< OtherObjectType, AllowNull, AllocatorType, AllocatorArgsType... > & As() const
Definition UniquePointer.h:75
ULANG_FORCEINLINE TUPtrG & operator=(TUPtrG &&Other)
Definition UniquePointer.h:41
ULANG_FORCEINLINE bool operator==(const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &Other) const
Definition UniquePointer.h:82
ULANG_FORCEINLINE TUPtrG & operator=(NullPtrType)
Definition UniquePointer.h:40
TUPtrG(const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &Other)=delete
ULANG_FORCEINLINE const TUPtrG< ObjectType, false, AllocatorType, AllocatorArgsType... > & AsRef() const &
Definition UniquePointer.h:66
ULANG_FORCEINLINE const AllocatorType & GetAllocator() const
Definition UniquePointer.h:51
ULANG_FORCEINLINE bool operator!=(OtherObjectType *Object) const
Definition UniquePointer.h:89
TUPtrG(const TUPtrG &)=delete
ULANG_FORCEINLINE TUPtrG(TUPtrG &&Other)
Definition UniquePointer.h:21
TUPtrG & operator=(const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &Other)=delete
ULANG_FORCEINLINE void Reset()
Definition UniquePointer.h:52
ULANG_FORCEINLINE TUPtrG & SetNew(CtorArgsType &&... CtorArgs)
Definition UniquePointer.h:27
ULANG_FORCEINLINE bool operator<(const TUPtrG &Other) const
Definition UniquePointer.h:90
ULANG_FORCEINLINE bool operator!=(const TUPtrG &Other) const
Definition UniquePointer.h:85
static ULANG_FORCEINLINE TUPtrG New(AllocatorArgsType &&... AllocatorArgs, CtorArgsType &&... CtorArgs)
Definition UniquePointer.h:29
ULANG_FORCEINLINE TUPtrG< OtherObjectType, AllowNull, AllocatorType, AllocatorArgsType... > & As()
Definition UniquePointer.h:73
ULANG_FORCEINLINE TUPtrG< ObjectType, false, AllocatorType, AllocatorArgsType... > & AsRef() &
Definition UniquePointer.h:54
ULANG_FORCEINLINE const TUPtrG< ObjectType, false, AllocatorType, AllocatorArgsType... > && AsRef() &&
Definition UniquePointer.h:60
friend class TUPtrG
Definition UniquePointer.h:109
ULANG_FORCEINLINE ObjectType * operator->() const
Definition UniquePointer.h:49
ULANG_FORCEINLINE bool operator==(OtherObjectType *Object) const
Definition UniquePointer.h:84
ULANG_FORCEINLINE ObjectType & operator*() const
Definition UniquePointer.h:48
ULANG_FORCEINLINE TUPtrG(TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &&Other)
Definition UniquePointer.h:23
ULANG_FORCEINLINE bool operator==(const TUPtrG &Other) const
Definition UniquePointer.h:80
ULANG_FORCEINLINE bool operator!=(const TUPtrG< OtherObjectType, OtherAllowNull, AllocatorType, AllocatorArgsType... > &Other) const
Definition UniquePointer.h:87
ULANG_FORCEINLINE ObjectType * Get() const
Definition UniquePointer.h:50
ULANG_FORCEINLINE bool operator>(const TUPtrG &Other) const
Definition UniquePointer.h:95
TUPtrG & operator=(const TUPtrG &)=delete
Definition VVMEngineEnvironment.h:23
std::nullptr_t NullPtrType
Definition Common.h:325
@ DefaultInit
Definition Common.h:378
ULANG_FORCEINLINE T && ForwardArg(typename TRemoveReference< T >::Type &Obj)
Definition References.h:115
ULANG_FORCEINLINE TRemoveReference< T >::Type && Move(T &&Obj)
Definition References.h:86
@ false
Definition radaudio_common.h:23