A constant template parameter
Synopsis
Declared in <mrdocs/Metadata/TParam/ConstantTParam.hpp>
struct ConstantTParam final
: TParamCommonBase<TParamKind::Constant>
Description
Before C++26, constant template parameters were called non‐type template parameter in the standard wording. The terminology was changed by P2841R6 / PR#7587.
Base Classes
Name |
Description |
CRTP base that fixes the parameter kind. |
Static Member Functions
Name |
Description |
True if the parameter is a non‐type parameter. |
|
True if the parameter is a template template parameter. |
|
True if the parameter is a type parameter. |
Data Members
Name |
Description |
Type of the non‐type template parameter |
Static Data Members
Name |
Description |
Static discriminator for the concrete parameter. |
Non-Member Functions
Name |
Description |
Created with MrDocs