TDereferenceWrapper

Helper class for dereferencing pointer types in Sort function

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Templates/Sorting.h

Include

#include "Templates/Sorting.h"

Syntax

template<typename T, class PREDICATE_CLASS>
struct TDereferenceWrapper

Remarks

Helper class for dereferencing pointer types in Sort function

Specializations

Variables

Name Description

Public variable

const PREDICATE...

 

Predicate

Constructors

Name Description

Public function

TDereferenceWrapper

(
    const PREDICATE_CLASS& InPredicate
)

Operators

Name Description

Public function

bool

 

operator()

(
    T& A,
    T& B
)

Pass through for non-pointer types

Public function Const

bool

 

operator()

(
    const T& A,
    const T& B
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss