UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
uLang::TDereferenceWrapper< PredicateType > Struct Template Reference

#include <Sorting.h>

Public Member Functions

 TDereferenceWrapper (const PredicateType &Predicate)
 
template<class T >
ULANG_FORCEINLINE TEnableIf< TIsPointer< T >::Value, bool >::Type operator() (const T A, const T B) const
 
template<class T >
ULANG_FORCEINLINE TEnableIf<!TIsPointer< T >::Value, bool >::Type operator() (const T &A, const T &B) const
 

Public Attributes

const PredicateType_Predicate
 

Detailed Description

template<class PredicateType>
struct uLang::TDereferenceWrapper< PredicateType >

Helper class for dereferencing pointer types in Sort function

Constructor & Destructor Documentation

◆ TDereferenceWrapper()

Member Function Documentation

◆ operator()() [1/2]

template<class PredicateType >
template<class T >
ULANG_FORCEINLINE TEnableIf<!TIsPointer< T >::Value, bool >::Type uLang::TDereferenceWrapper< PredicateType >::operator() ( const T &  A,
const T &  B 
) const
inline

◆ operator()() [2/2]

template<class PredicateType >
template<class T >
ULANG_FORCEINLINE TEnableIf< TIsPointer< T >::Value, bool >::Type uLang::TDereferenceWrapper< PredicateType >::operator() ( const T  A,
const T  B 
) const
inline

Pass through for non-pointer types

Member Data Documentation

◆ _Predicate

template<class PredicateType >
const PredicateType& uLang::TDereferenceWrapper< PredicateType >::_Predicate

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