mrdocs::TArgCommonBase

CRTP base that fixes the argument kind.

Synopsis

Declared in <mrdocs/Metadata/TArg/TArgBase.hpp>

template<TArgKind K>
struct TArgCommonBase
    : TArg

Base Classes

NameDescription
TArgBase class for any template argument.

Member Functions

NameDescription
asTArg asTArg overloads

Static Member Functions

NameDescription
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

NameDescription
IsPackExpansion Whether this template argument is a parameter expansion.
Kind The kind of template argument this is.

Static Data Members

NameDescription
kind_id Static discriminator for the concrete argument.

Protected Member Functions

NameDescription
TArgCommonBase [constructor]Construct with the fixed kind.

Friends

NameDescription
mrdocs::mrdocs_member_descriptor_fn
mrdocs::mrdocs_base_descriptor_fn

Non-Member Functions

NameDescription
toStringConvert a template argument to a human-readable string.

Derived Classes

NameDescription
ConstantTArg Non-type template argument.
TemplateTArg Template template argument.
TypeTArg Type template argument.