OperatorComparison< TS > Class Template Reference

CPP API: mio::OperatorComparison< TS > Class Template Reference
mio::OperatorComparison< TS > Class Template Reference

base class to add operator <, <=, >, >= to a class derived from TypeSafe. More...

#include <type_safe.h>

Public Member Functions

bool operator< (const TS &other) const
 
bool operator<= (const TS &other) const
 
bool operator> (const TS &other) const
 
bool operator>= (const TS &other) const
 

Detailed Description

template<class TS>
class mio::OperatorComparison< TS >

base class to add operator <, <=, >, >= to a class derived from TypeSafe.

Template Parameters
TSConcrete class derived from TypeSafe

Member Function Documentation

◆ operator<()

template<class TS >
bool mio::OperatorComparison< TS >::operator< ( const TS &  other) const
inline

◆ operator<=()

template<class TS >
bool mio::OperatorComparison< TS >::operator<= ( const TS &  other) const
inline

◆ operator>()

template<class TS >
bool mio::OperatorComparison< TS >::operator> ( const TS &  other) const
inline

◆ operator>=()

template<class TS >
bool mio::OperatorComparison< TS >::operator>= ( const TS &  other) const
inline