mrdocs::doc::traverse

Traverse a list of inlines.

Synopsis

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

template<
    class F,
    class T,
    class... Args>
requires std::derived_from<T, Inline>
void
traverse(
    std::vector<std::unique_ptr<T>> const& list,
    F&& f,
    Args...&&... args);

Parameters

Name

Description

list

The list of texts to traverse.

f

The function to call for each text.

args

Additional arguments to pass to the function.

Created with MrDocs