UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TWeakPtrVariant< BaseType > Struct Template Reference

#include <PointerVariants.h>

+ Inheritance diagram for TWeakPtrVariant< BaseType >:

Public Types

using Super = UE::Core::Private::TPtrVariantBase< BaseType, false >
 
- Public Types inherited from UE::Core::Private::TPtrVariantBase< BaseType, false >
using SharedType = std::conditional_t< bIsStrong, TSharedPtr< BaseType >, TWeakPtr< BaseType > >
 

Public Member Functions

TStrongPtrVariant< BaseType > Pin () const
 
- Public Member Functions inherited from UE::Core::Private::TPtrVariantBase< BaseType, false >
constexpr TPtrVariantBase ()=default
 
constexpr TPtrVariantBase (TYPE_OF_NULLPTR)
 
constexpr TPtrVariantBase (DerivedType *InDerived)
 
TPtrVariantBaseoperator= (TYPE_OF_NULLPTR)
 
bool IsValid () const
 
void Reset ()
 

Member Typedef Documentation

◆ Super

template<typename BaseType >
using TWeakPtrVariant< BaseType >::Super = UE::Core::Private::TPtrVariantBase<BaseType, false>

Member Function Documentation

◆ Pin()

template<typename BaseType >
TStrongPtrVariant< BaseType > TWeakPtrVariant< BaseType >::Pin ( ) const
inline

The documentation for this struct was generated from the following file: