Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
TDereferenceWrapper< T, PREDICATE_CLASS > Struct Template Reference

#include <Sorting.h>

Public Member Functions

 TDereferenceWrapper (const PREDICATE_CLASS &InPredicate)
 
FORCEINLINE bool operator() (T &A, T &B)
 
FORCEINLINE bool operator() (const T &A, const T &B) const
 

Public Attributes

const PREDICATE_CLASS & Predicate
 

Detailed Description

template<typename T, class PREDICATE_CLASS>
struct TDereferenceWrapper< T, PREDICATE_CLASS >

Helper class for dereferencing pointer types in Sort function

Definition at line 14 of file Sorting.h.

Constructor & Destructor Documentation

◆ TDereferenceWrapper()

template<typename T , class PREDICATE_CLASS >
TDereferenceWrapper< T, PREDICATE_CLASS >::TDereferenceWrapper ( const PREDICATE_CLASS & InPredicate)
inline

Definition at line 18 of file Sorting.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename T , class PREDICATE_CLASS >
FORCEINLINE bool TDereferenceWrapper< T, PREDICATE_CLASS >::operator() ( const T & A,
const T & B ) const
inline

Definition at line 23 of file Sorting.h.

◆ operator()() [2/2]

template<typename T , class PREDICATE_CLASS >
FORCEINLINE bool TDereferenceWrapper< T, PREDICATE_CLASS >::operator() ( T & A,
T & B )
inline

Pass through for non-pointer types

Definition at line 22 of file Sorting.h.

Member Data Documentation

◆ Predicate

template<typename T , class PREDICATE_CLASS >
const PREDICATE_CLASS& TDereferenceWrapper< T, PREDICATE_CLASS >::Predicate

Definition at line 16 of file Sorting.h.


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