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

Strict weak ordering functor using operator>. More...

#include <utility.h>

Public Member Functions

constexpr bool operator() (const T &lhs, const T &rhs) const
 Compares whether the left value is greater than the right value.
 

Detailed Description

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

Strict weak ordering functor using operator>.

Template Parameters
TValue type.

Member Function Documentation

◆ operator()()

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

Compares whether the left value is greater than the right value.

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

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