UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TEqualTo< T > Struct Template Reference

#include <EqualTo.h>

Public Member Functions

UE_REWRITE constexpr bool operator() (const T &Lhs, const T &Rhs) const
 

Detailed Description

template<typename T = void>
struct TEqualTo< T >

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.

Member Function Documentation

◆ operator()()

template<typename T = void>
UE_REWRITE constexpr bool TEqualTo< T >::operator() ( const T &  Lhs,
const T &  Rhs 
) const
inlineconstexpr

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