IntegralBox demonstrates the direct concept-on-template-parameter form: the template parameter T is constrained by the Integral concept without an explicit requires clause.
| Header: | concepts.h |
template<Integral T>
class IntegralBox
A box holding any Integral type.
| Header: | concepts.h |
IntegralBox demonstrates the direct concept-on-template-parameter form: the template parameter T is constrained by the Integral concept without an explicit requires clause.