CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::ComparableTrait< T > Struct Template Reference

#include <CeresEngine/Foundation/NamedType.hpp>

Inheritance diagram for CeresEngine::ComparableTrait< T >:
CeresEngine::CRTP< T, ComparableTrait > CeresEngine::Arithmetic< T >

Public Member Functions

constexpr bool operator< (ComparableTrait< T > const &other) const
 
constexpr bool operator> (ComparableTrait< T > const &other) const
 
constexpr bool operator<= (ComparableTrait< T > const &other) const
 
constexpr bool operator>= (ComparableTrait< T > const &other) const
 
constexpr bool operator== (ComparableTrait< T > const &other) const
 
constexpr bool operator!= (ComparableTrait< T > const &other) const
 
- Public Member Functions inherited from CeresEngine::CRTP< T, ComparableTrait >
constexpr T & getUnderlying ()
 
constexpr T const & getUnderlying () const
 

Member Function Documentation

◆ operator!=()

template<typename T >
constexpr bool CeresEngine::ComparableTrait< T >::operator!= ( ComparableTrait< T > const other) const
inlineconstexpr

◆ operator<()

template<typename T >
constexpr bool CeresEngine::ComparableTrait< T >::operator< ( ComparableTrait< T > const other) const
inlineconstexpr

◆ operator<=()

template<typename T >
constexpr bool CeresEngine::ComparableTrait< T >::operator<= ( ComparableTrait< T > const other) const
inlineconstexpr

◆ operator==()

template<typename T >
constexpr bool CeresEngine::ComparableTrait< T >::operator== ( ComparableTrait< T > const other) const
inlineconstexpr

◆ operator>()

template<typename T >
constexpr bool CeresEngine::ComparableTrait< T >::operator> ( ComparableTrait< T > const other) const
inlineconstexpr

◆ operator>=()

template<typename T >
constexpr bool CeresEngine::ComparableTrait< T >::operator>= ( ComparableTrait< T > const other) const
inlineconstexpr

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