Gaia-ECS v0.9.3
A simple and powerful entity component system
Loading...
Searching...
No Matches
gaia::core::equal_to< T > Struct Template Reference

Equality comparison functor using operator==. More...

#include <utility.h>

Public Member Functions

constexpr bool operator() (const T &lhs, const T &rhs) const
 Compares two values for equality.
 

Detailed Description

template<typename T>
struct gaia::core::equal_to< T >

Equality comparison functor using operator==.

Template Parameters
TValue type.

Member Function Documentation

◆ operator()()

template<typename T >
constexpr bool gaia::core::equal_to< T >::operator() ( const T &  lhs,
const T &  rhs 
) const
inlineconstexpr

Compares two values for equality.

Parameters
lhsLeft operand.
rhsRight operand.
Returns
Result of the wrapped comparison operator.

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