append overloads

Synopses

Declared in <mrdocs/Metadata/DocComment/Inline/InlineBase.hpp>

Append a TextInline child.

InlineContainer&
append(std::string_view text);

Append a child of the specified type.

template<
    std::derived_from<Inline> InlineTy,
    class... Args>
InlineContainer&
append(Args...&&... args);

Return Value

A reference to this container.

Template Parameters

Name Description

InlineTy

The Inline‐derived type to add.

Parameters

Name Description

text

The text to append.

args

Constructor arguments forwarded to the child.

Created with MrDocs