mrdocs::TArgCommonBase

CRTP base that fixes the argument kind.

Synopsis

template<TArgKind K>
struct TArgCommonBase
    : TArg

Base Classes

Name

Description

TArg

Base class for any template argument.

Member Functions

Name

Description

asTArg

asTArg overloads

Static Member Functions

Name

Description

isConstant

Test whether the kind is a non‐type constant argument.

isTemplate

Test whether the kind is a template argument.

isType

Test whether the kind is a type argument.

Data Members

Name

Description

IsPackExpansion

Whether this template argument is a parameter expansion.

Kind

The kind of template argument this is.

Static Data Members

Name

Description

kind_id

Static discriminator for the concrete argument.

Protected Member Functions

Name

Description

TArgCommonBase [constructor]

Construct with the fixed kind.

Friends

Name

Description

mrdocs::mrdocs_member_descriptor_fn

mrdocs::mrdocs_base_descriptor_fn

Non-Member Functions

Name

Description

toString

Convert a template argument to a human‐readable string.

Derived Classes

Name

Description

ConstantTArg

Non‐type template argument.

TemplateTArg

Template template argument.

TypeTArg

Type template argument.

Created with MrDocs