mrdocs::ArrayType

C++ array type (bounded or unbounded).

Synopsis

Declared in <mrdocs/Metadata/Type/ArrayType.hpp>
struct ArrayType final
    : TypeCommonBase<TypeKind::Array>

Base Classes

Name Description
TypeCommonBase<TypeKind::Array>CRTP base that ties a concrete type to a fixed TypeKind.

Member Functions

NameDescription
operator<=> Compare arrays by element type and bound.

Static Member Functions

Name
isArray
isAuto
isDecltype
isFunction
isLValueReference
isMemberPointer
isNamed
isPointer
isRValueReference

Data Members

NameDescription
Bounds Optional bound; empty means unknown or dependent.
ElementType Element type held by the array.

Static Data Members

Name
kind_id

Non-Member Functions

Name Description
innerTypeReturn the inner type.
innerTypeReturn the inner type.
innerTypePtrReturn the inner type.
innerTypePtrReturn the inner type.
toStringRender a type to a human-readable string.