UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PointerVariants.h File Reference
#include "Misc/TVariant.h"
#include "Templates/Requires.h"
#include "Templates/SharedPointer.h"
#include "UObject/StrongObjectPtr.h"
#include "UObject/WeakObjectPtr.h"
#include "UnrealTypeTraits.h"
#include "UnrealTemplate.h"
#include <type_traits>

Go to the source code of this file.

Classes

struct  UE::Core::Private::TPtrVariantBase< BaseType, bIsStrong >
 
struct  UE::Core::Private::TPtrVariantBase< BaseType, bIsStrong >::FObjectPtrWrapper
 
struct  TStrongPtrVariant< BaseType >
 
struct  TWeakPtrVariant< BaseType >
 

Namespaces

namespace  UE
 
namespace  UE::Core
 
namespace  UE::Core::Private
 implementation
 

Functions

template<typename LhsType , bool bLhsStrength, typename RhsType , bool bRhsStrength UE_REQUIRES>
bool UE::Core::Private::operator== (const TPtrVariantBase< LhsType, bLhsStrength > &Lhs, const TPtrVariantBase< RhsType, bRhsStrength > &Rhs)
 
template<typename LhsType , typename RhsType , bool bRhsStrength UE_REQUIRES>
bool UE::Core::Private::operator== (LhsType *Lhs, const TPtrVariantBase< RhsType, bRhsStrength > &Rhs)
 
template<typename LhsType , bool bLhsStrength, typename RhsType UE_REQUIRES>
bool UE::Core::Private::operator== (const TPtrVariantBase< LhsType, bLhsStrength > &Lhs, RhsType *Rhs)
 
template<typename LhsType , bool bLhsStrength, typename RhsType , bool bRhsStrength>
bool UE::Core::Private::operator!= (const TPtrVariantBase< LhsType, bLhsStrength > &Lhs, const TPtrVariantBase< RhsType, bRhsStrength > &Rhs)
 
template<typename LhsType , typename RhsType , bool bRhsStrength>
bool UE::Core::Private::operator!= (LhsType *Lhs, const TPtrVariantBase< RhsType, bRhsStrength > &Rhs)
 
template<typename LhsType , bool bLhsStrength, typename RhsType >
bool UE::Core::Private::operator!= (const TPtrVariantBase< LhsType, bLhsStrength > &Lhs, RhsType *Rhs)