Value concepts (details)¶
Table of Contents
Value¶
-
template<typename
Val>
conceptValue¶ - Refines the
template <typename SemiregVal> SemiregularValueconcept.
Possible implementation
template<typename Val> concept Value = SemiregularValue<Val>;
- Refines the
SemiregularValue¶
-
template<typename
SemiregVal>
conceptSemiregularValue¶ - Refines the
template <typename T> Semiregularconcept.
Notation
-
type
SemiregValue¶
-
SemiregValue
val¶
-
SemiregValue
val_cpy¶
-
const SemiregValue
cval¶
Valid Expressions
val()returns an instance ofSemiregValue.cval()returns an instance ofconst SemiregValue.val_cpy(val)returns an instance ofSemiregValue.val_cpy(cval)returns an instance ofSemiregValue.val_cpy(move(val))returns an instance ofSemiregValue.val_cpy = valreturns an instance ofSemiregValue&.val_cpy = cvalreturns an instance ofSemiregValue&.val_cpy = move(val)returns an instance ofSemiregValue&.
Possible implementation
template<typename SemiregVal> concept SemiregularValue = Semiregular<SemiregVal>;
- Refines the
RegularValue¶
-
template<typename
RegVal>
conceptRegularValue¶ - Refines the
template <typename SemiregVal> SemiregularValueconcept. - Refines the
template <typename T> Regularconcept.
Notation
Valid Expressions
lhs == rhsreturn-type modelstemplate<typename B> Boolean.lhs != rhsreturn-type modelstemplate<typename B> Boolean.rhs == lhsreturn-type modelstemplate<typename B> Boolean.rhs != lhsreturn-type modelstemplate<typename B> Boolean.
Possible implementation
template<typename RegVal> concept RegularValue = SemiregularValue<RegVal> && Regular<RegVal>;
- Refines the
StrictTotallyOrderedRegularValue¶
-
template<typename
STORegVal>
conceptStrictTotallyOrderedRegularValue¶ - Refines the
template <typename RegVal> RegularValueconcept. - Refines the
template <typename T> StrictTotallyOrderedconcept.
Notation
Valid Expressions
lhs < rhsreturn-type modelstemplate<typename B> Boolean.lhs > rhsreturn-type modelstemplate<typename B> Boolean.lhs <= rhsreturn-type modelstemplate<typename B> Boolean.lhs >= rhsreturn-type modelstemplate<typename B> Boolean.
Possible implementation
template<typename STORegVal> concept RegularValue = RegularValue<STORegVal> && StrictTotallyOrdered<STORegVal>;
- Refines the