mrdocs::NamedType

A type identified by name (possibly fundamental).

Synopsis

Declared in <mrdocs/Metadata/Type/NamedType.hpp>

struct NamedType final
    : TypeCommonBase<TypeKind::Named>

Base Classes

NameDescription
TypeCommonBase<TypeKind::Named>CRTP base that ties a concrete type to a fixed TypeKind.

Static Member Functions

NameDescription
isArray True when this is an array type.
isAuto True when this concrete kind is auto.
isDecltype True when this concrete kind is decltype.
isFunction True when this is a function type.
isLValueReference True when this is an lvalue reference.
isMemberPointer True when this is a member pointer.
isNamed True when this concrete kind is a named type.
isPointer True when this is a pointer type.
isRValueReference True when this is an rvalue reference.

Data Members

NameDescription
FundamentalType Fundamental kind if this named type is a built-in.
Name The name of the type (identifier or specialization).

Static Data Members

NameDescription
kind_id Static discriminator for the concrete type.