Navigation
API > API/Runtime > API/Runtime/Core
Binary predicate class for performing equality comparisons. Assumes == operator is defined for the template type.
See: https://en.cppreference.com/w/cpp/utility/functional/equal_to
TEqualTo should not be specialized - an appropriate operator== should be added.
| Name | TEqualTo |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/Templates/EqualTo.h |
| Include Path | #include "Templates/EqualTo.h" |
Syntax
template<typename T>
struct TEqualTo
Struct Specializations
| Name | Remarks |
|---|---|
| TEqualTo< void > |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator()
(
const T& Lhs, |
Templates/EqualTo.h |