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

Name

Description

operator<=>

Compare arrays by element type and bound.

Data Members

Name

Description

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

innerType

Return the inner type.

innerType

Return the inner type.

innerTypePtr

Return the inner type.

innerTypePtr

Return the inner type.

toString

Render a type to a human‐readable string.

Created with MrDocs