Render a type to a human‐readable string.

Synopsis

Declared in <mrdocs/Metadata/Type.hpp>

std::string
toString(
    Type const& T,
    std::string_view Name = "");

Return Value

Text representation of the type.

Parameters

Name Description

T

Type to render.

Name

Optional identifier to append.

Created with MrDocs