OKlibrary  0.2.1.6
OKlib::Concepts::Variables< Var > Class Template Reference

Basic variables concept. More...

#include <Variables.hpp>

List of all members.

Public Member Functions

void constraints ()

Public Attributes

Var v
const Var vc

Detailed Description

template<typename Var>
class OKlib::Concepts::Variables< Var >

Basic variables concept.

  • Variables play the role of "tokens", and they are assumed to be lightweight objects.
  • Variables are fully constructible and a(n) (implementation-defined) linear order < is defined on them.
  • Variables can be "singular" and "non-singular", which can be found out by an implicit conversion into bool (true for non-singular).
  • All singular variables are equal.
  • Since built-in types can model variables, for variables in general the initialisation behaviour of built-in types must be assumed.
Todo:
Archetype

Definition at line 50 of file Variables.hpp.


Member Function Documentation


Member Data Documentation

template<typename Var >
Var OKlib::Concepts::Variables< Var >::v

Definition at line 68 of file Variables.hpp.

Referenced by OKlib::Concepts::Variables< Var >::constraints().

template<typename Var >
const Var OKlib::Concepts::Variables< Var >::vc

Definition at line 69 of file Variables.hpp.

Referenced by OKlib::Concepts::Variables< Var >::constraints().


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