Requirements of the Additive Monoid Concept. More...
#include <_additive_monoid.hpp>
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. | |
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.
| instigate::algebra::additive_monoid::requirements< T >::requirements | ( | ) | [inline] |
Constructor.
Check the requirements of the Additive Monoid Concept
Reimplemented from instigate::algebra::additive_semi_group::requirements< T >.
Reimplemented in instigate::algebra::additive_group::requirements< T >, and instigate::algebra::ring::requirements< T >.
References instigate::algebra::additive_monoid::requirements< T >::require_get_zero(), and instigate::algebra::additive_monoid::requirements< T >::require_get_zero_return_type().