mrdocs::Name::Prefix

The parent name info, if any.

Synopsis

Declared in <mrdocs/Metadata/Name/NameBase.hpp>

Optional<Polymorphic<Name>> Prefix = std::nullopt;

Description

This recursively includes information about the parent, such as the symbol ID and potentially template arguments, when the parent is a SpecializationName.

This is particularly useful because the parent of id could be a primary template. In this case, the Prefix will contain this primary template information and the template arguments.

Created with MrDocs