Instigate Open Source Documentation

instigate::algebra::additive_magma::requirements< T > Struct Template Reference

Requirements of the Additive Magma Concept. More...

#include <_additive_magma.hpp>

Inheritance diagram for instigate::algebra::additive_magma::requirements< T >:
instigate::assignable::requirements< T > instigate::algebra::additive_semi_group::requirements< T > instigate::algebra::additive_monoid::requirements< T > instigate::algebra::additive_group::requirements< T > instigate::algebra::ring::requirements< T > instigate::algebra::field::requirements< T >

List of all members.

Public Member Functions

 requirements ()
 The only available constructor.

Static Public Member Functions

static void require_plus (const T &a, const T &b)
 Require the plus() method, which must be defined in the instigate::algebra::additive_magma::interface.
static void require_plus_return_type (const T &a, const T &b)
 Require the same type of the return value and the arguments of the plus() method.

Detailed Description

template<typename T>
struct instigate::algebra::additive_magma::requirements< T >

Requirements of the Additive Magma Concept.

This code will be compiled if and only if T is a model of the instigate::algebra::additive_magma concept.


Constructor & Destructor Documentation

template<typename T >
instigate::algebra::additive_magma::requirements< T >::requirements (  )  [inline]

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


© Instigate CJSC, Open Source