Function type with parameters, qualifiers, and noexcept info.

Synopsis

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

struct FunctionType final
    : TypeCommonBase<TypeKind::Function>

Base Classes

Name Description

TypeCommonBase<TypeKind::Function>

CRTP base that ties a concrete type to a fixed TypeKind.

Member Functions

Name

Description

operator<=>

Compare function types by return, params, and qualifiers.

Static Member Functions

Data Members

Name

Description

ExceptionSpec

Exception specification information.

IsVariadic

True when this function type is variadic.

ParamTypes

Parameter types in declaration order.

RefQualifier

Reference qualifier (if present).

ReturnType

Return type, defaults to auto when unknown.

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