DryChem 1.0.0
A generic, compile-time C++ toolbox with no dependencies for the modern computational chemistry project.
Loading...
Searching...
No Matches
CppUtils::Operators::LessThanComparable< Derived, Empty > Class Template Reference

#include <comparisonOperators.hpp>

Inheritance diagram for CppUtils::Operators::LessThanComparable< Derived, Empty >:
CppUtils::Operators::PotentiallyEmptyBaseClass< typename >

Friends

constexpr friend bool operator> (const Derived &x1_, const Derived &x2_)
 
constexpr friend bool operator<= (const Derived &x1_, const Derived &x2_)
 
constexpr friend bool operator>= (const Derived &x1_, const Derived &x2_)
 

Detailed Description

template<typename Derived, typename Empty = PotentiallyEmptyBaseClass<Derived>>
class CppUtils::Operators::LessThanComparable< Derived, Empty >

The comparison operators that can be derived from the less-than operator

Template Parameters
Derived- The class with the overloaded operator<()
Empty- An empty base class, not really needed for the general user

Friends And Related Symbol Documentation

◆ operator>

template<typename Derived, typename Empty = PotentiallyEmptyBaseClass<Derived>>
friend bool operator> ( const Derived & x1_,
const Derived & x2_ )
friend

◆ operator<=

template<typename Derived, typename Empty = PotentiallyEmptyBaseClass<Derived>>
friend bool operator<= ( const Derived & x1_,
const Derived & x2_ )
friend

◆ operator>=

template<typename Derived, typename Empty = PotentiallyEmptyBaseClass<Derived>>
friend bool operator>= ( const Derived & x1_,
const Derived & x2_ )
friend

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