ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::Selective Concept Reference

a monoid whose combine( a , b ) is always \( a \) or \( b \), by the opt-in G::selective More...

#include <ADS/Algebra.h>

Concept definition

template< class G >
concept Selective = Monoid< G > && detail::selectiveFlag< G >()
a monoid on G::Value: the identity G::identity() and the associative operation G::combine( a ,...
Definition Algebra.h:117
a monoid whose combine( a , b ) is always or , by the opt-in G::selective
Definition Algebra.h:142

Detailed description

a monoid whose combine( a , b ) is always \( a \) or \( b \), by the opt-in G::selective