Navigation
API > API/Runtime > API/Runtime/Core
Binary predicate class for sorting elements in reverse order. Assumes < operator is defined for the template type. Forward declaration exists in ContainersFwd.h.
See: http://en.cppreference.com/w/cpp/utility/functional/greater
TGreater should not be specialized - an appropriate operator< should be added.
| Name | TGreater |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/Greater.h |
| Include Path | #include "Templates/Greater.h" |
Syntax
template<typename T>
struct TGreater
Struct Specializations
| Name | Remarks |
|---|---|
| TGreater< void > |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator()
(
const T& A, |
Templates/Greater.h |