|
ADS
Algorithms and Data Structures
|
the selective commutative monoid of the largest value of T, of identity \( -\infty \) if T has it, its least value otherwise More...
#include <ADS/Algebra.h>
Public types | |
| using | Value = T |
| the maxima | |
Static public member functions | |
| static constexpr Value | identity (void) |
| the least value of the type | |
| static constexpr Value | combine (const Value &a, const Value &b) |
| \( \max( a , b ) \), \( a \) if they are equivalent | |
Static public attributes | |
| static constexpr bool | commutative = true |
| it commutes | |
| static constexpr bool | selective = true |
| one of the two | |
the selective commutative monoid of the largest value of T, of identity \( -\infty \) if T has it, its least value otherwise
| using ADS::MaxOf< T >::Value = T |
the maxima
|
inlinestaticconstexpr |
\( \max( a , b ) \), \( a \) if they are equivalent
|
inlinestaticconstexpr |
the least value of the type
|
staticconstexpr |
it commutes
|
staticconstexpr |
one of the two