CAF  0.17.3
Friends | List of all members
caf::detail::comparable< Subclass, T > Class Template Reference

Barton–Nackman trick implementation. More...

#include <comparable.hpp>


bool operator== (const Subclass &lhs, const T &rhs) noexcept
bool operator== (const T &lhs, const Subclass &rhs) noexcept
bool operator!= (const Subclass &lhs, const T &rhs) noexcept
bool operator!= (const T &lhs, const Subclass &rhs) noexcept
bool operator< (const Subclass &lhs, const T &rhs) noexcept
bool operator> (const Subclass &lhs, const T &rhs) noexcept
bool operator< (const T &lhs, const Subclass &rhs) noexcept
bool operator> (const T &lhs, const Subclass &rhs) noexcept
bool operator<= (const Subclass &lhs, const T &rhs) noexcept
bool operator>= (const Subclass &lhs, const T &rhs) noexcept
bool operator<= (const T &lhs, const Subclass &rhs) noexcept
bool operator>= (const T &lhs, const Subclass &rhs) noexcept

Detailed Description

template<class Subclass, class T = Subclass>
class caf::detail::comparable< Subclass, T >

Barton–Nackman trick implementation.

Subclass must provide a compare member function that compares to instances of T and returns an integer x with:

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