UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Core::Private::Function::FFunctionRefStoragePolicy Struct Reference

#include <Function.h>

Public Member Functions

template<typename FunctorType >
std::remove_reference_t< FunctorType > * Bind (FunctorType &&InFunc)
 
void BindCopy (const FFunctionRefStoragePolicy &Other)
 
voidGetPtr () const
 
void Unbind () const
 

Static Public Attributes

static constexpr bool bCanBeNull = false
 

Member Function Documentation

◆ Bind()

template<typename FunctorType >
std::remove_reference_t< FunctorType > * UE::Core::Private::Function::FFunctionRefStoragePolicy::Bind ( FunctorType &&  InFunc)
inline

◆ BindCopy()

void UE::Core::Private::Function::FFunctionRefStoragePolicy::BindCopy ( const FFunctionRefStoragePolicy Other)
inline

◆ GetPtr()

void * UE::Core::Private::Function::FFunctionRefStoragePolicy::GetPtr ( ) const
inline

Returns a pointer to the callable object - needed by TFunctionRefBase.

◆ Unbind()

void UE::Core::Private::Function::FFunctionRefStoragePolicy::Unbind ( ) const
inline

Destroy any owned bindings - called by TFunctionRefBase only if Bind() or BindCopy() was called.

Member Data Documentation

◆ bCanBeNull

constexpr bool UE::Core::Private::Function::FFunctionRefStoragePolicy::bCanBeNull = false
staticconstexpr

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