template<typename TemporalType>
meos::TemporalComparators struct

Contents

This template class uses CRTP pattern and assumes the presence of the following function defined on the TemporalType class:

int TemporalType::compare(TemporalType const &other) const

where TemporalType == a class extending Temporal

Friends

auto operator==(TemporalType const& lhs, TemporalType const& rhs) -> bool
auto operator!=(TemporalType const& lhs, TemporalType const& rhs) -> bool
auto operator<(TemporalType const& lhs, TemporalType const& rhs) -> bool
auto operator>(TemporalType const& lhs, TemporalType const& rhs) -> bool
auto operator>=(TemporalType const& lhs, TemporalType const& rhs) -> bool
auto operator<=(TemporalType const& lhs, TemporalType const& rhs) -> bool