a monoid on G::Value: the identity G::identity() and the associative operation G::combine( a , b )
More...
#include <ADS/Algebra.h>
template< class G >
concept Monoid =
requires(
const typename G::Value & a )
{
{ G::identity() } -> std::convertible_to< typename G::Value >;
{ G::combine( a , a ) } -> std::convertible_to< typename G::Value >;
}
a monoid on G::Value: the identity G::identity() and the associative operation G::combine( a ,...
Definition Algebra.h:117
a monoid on G::Value: the identity G::identity() and the associative operation G::combine( a , b )