Instigate Open Source Documentation

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

Requirements of the Additive Monoid Concept. More...

#include <_additive_monoid.hpp>

Inheritance diagram for instigate::algebra::additive_monoid::requirements< T >:
instigate::algebra::additive_semi_group::requirements< T > instigate::algebra::additive_magma::requirements< T > instigate::assignable::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 ()
 Constructor.

Static Public Member Functions

static void require_get_zero ()
 Require the get_zero() method, which must be defined in the instigate::algebra::additive_monoid::interface.
static void require_get_zero_return_type (const T &a)
 Require the same type T as the return type of the get_zero() method.

Detailed Description

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

Requirements of the Additive Monoid Concept.

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


Constructor & Destructor Documentation

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

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


© Instigate CJSC, Open Source