mrdocs::Type

A possibly qualified type.

Synopsis

Declared in <mrdocs/Metadata/Type/TypeBase.hpp>
struct Type;

Member Functions

Name Description
asType
namedSymbol Return the symbol named by this type.
operator<=> Three-way comparison operator

Data Members

Name Description
Constraints The constraints associated with the type
IsConst The const qualifier
IsPackExpansion Whether this is the pattern of a pack expansion.
IsVolatile The volatile qualifier
Kind The kind of Type this is

Protected Member Functions

Name Description
Type [constructor]Construct from TypeKind
~Type [destructor] [virtual]Destructor

Non-Member Functions

Name Description
innerTypeReturn the inner type.
innerTypeReturn the inner type.
innerTypePtrReturn the inner type.
innerTypePtrReturn the inner type.

Derived Classes

Name Description
TypeCommonBase

Description

This class represents a type that may have qualifiers (e.g. const, volatile).

This base class is used to store the kind of type. Derived classes are used to store the type information according to the kind.

Created with MrDocs