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::CompletelyComparable< Derived, Empty > Class Template Reference

#include <comparisonOperators.hpp>

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

Detailed Description

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

An empty class used to combine the EqualityComparable and LessThanComparable class templates

Template Parameters
Derived- The class with the overloaded operator==() and operator<()'s
Empty- An empty base class, not really needed for the general user
Note
If we were to inherit both EqualityComparable and LessThanComparable, we could be setting ourselves to inhibit the EBCO. This way, if we do inherit an empty base class, our compiler can capitalize on that.

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