Inheritance diagram for vcsn::algebra::MonoidBase:
Public Methods | |
template<typename T> Element< Self, T > | identity (SELECTOR(T)) const |
returns the identity of the monoid (if mul_kind). | |
template<typename T> Element< Self, T > | zero (SELECTOR(T)) const |
returns the zero of the monoid (if add_kind). | |
Protected Methods | |
MonoidBase () | |
Default constructor is protected since it is an abstract class. | |
MonoidBase (const MonoidBase &other) | |
Copy constructor is protected since it is an abstract class. |
Monoid defines identity for semigroups of mul_kind and zero for semigroup of add_kind.