A constant template parameter

Synopsis

Declared in <mrdocs/Metadata/TParam/ConstantTParam.hpp>

struct ConstantTParam final
    : TParamCommonBase<TParamKind::Constant>

Base Classes

Member Functions

Name

Description

operator<=>

Three‐way comparison operators

Static Member Functions

Data Members

Name

Description

Type

Type of the non‐type template parameter

Static Data Members

Name

kind_id

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.

Created with MrDocs