A constant template parameter
Declared in <mrdocs/Metadata/TParam/ConstantTParam.hpp>
struct ConstantTParam final
: TParamCommonBase<TParamKind::Constant>
Before C++26, constant template parameters were called non-type template parameter in the standard wording. The terminology was changed by P2841R6 / PR#7587.
| Name | Description |
|---|---|
TParamCommonBase<TParamKind::Constant> | CRTP base that fixes the parameter kind. |
| Name | Description |
|---|---|
isConstant | True if the parameter is a non-type parameter. |
isTemplate | True if the parameter is a template template parameter. |
isType | True if the parameter is a type parameter. |
| Name | Description |
|---|---|
Type | Type of the non-type template parameter |
| Name | Description |
|---|---|
kind_id | Static discriminator for the concrete parameter. |