OKlibrary  0.2.1.6
OKlib::Concepts::EqualityComparable< T > Class Template Reference

Concept EqualityComparable according to Table 28 in the standard (plus const-correctness). More...

#include <std_Basics.hpp>

List of all members.

Public Member Functions

void constraints ()

Public Attributes

T x
T y
const T a
const T b

Detailed Description

template<typename T>
class OKlib::Concepts::EqualityComparable< T >

Concept EqualityComparable according to Table 28 in the standard (plus const-correctness).

Semantical requirements are that of an equivalence relation, that is

  • a == a
  • if a == b then b == a
  • if a == b and b == c then a == c.
Todo:
LessThanComparable_Archetype should use the provided type convertible_to_bool.

Definition at line 48 of file std_Basics.hpp.


Member Function Documentation


Member Data Documentation

template<typename T >
const T OKlib::Concepts::EqualityComparable< T >::a
template<typename T >
const T OKlib::Concepts::EqualityComparable< T >::b
template<typename T >
T OKlib::Concepts::EqualityComparable< T >::x
template<typename T >
T OKlib::Concepts::EqualityComparable< T >::y

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