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. |
Member Functions
Name |
Description |
Compare constant parameters by type and defaults. |
Static Member Functions
Name |
Data Members
Name |
Description |
Type of the non‐type template parameter |
Static Data Members
Name |
Created with MrDocs