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

Concept Assignable according to Table 64 in the standard. More...

#include <std_Basics.hpp>

List of all members.

Public Member Functions

void constraints ()

Public Attributes

T a
const T b

Detailed Description

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

Concept Assignable according to Table 64 in the standard.

Semantics:

  • After a = b the object a is "equivalent" to b (i.e., substitutable).
Todo:
Shouldn't there be a concept "CopyAssignable", which also requires that copying and assigning have the same effect?

Definition at line 213 of file std_Basics.hpp.


Member Function Documentation

template<typename T >
void OKlib::Concepts::Assignable< T >::constraints ( ) [inline]

Member Data Documentation

template<typename T >
T OKlib::Concepts::Assignable< T >::a

Definition at line 218 of file std_Basics.hpp.

Referenced by OKlib::Concepts::Assignable< T >::constraints().

template<typename T >
const T OKlib::Concepts::Assignable< T >::b

Definition at line 219 of file std_Basics.hpp.

Referenced by OKlib::Concepts::Assignable< T >::constraints().


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