mrdocs::Corpus::traverse

Visit the members of specified Symbol.

Synopses

Declared in <mrdocs/Corpus.hpp>

Visit the members of specified Symbol.

template<
    std::derived_from<Symbol> T,
    class F,
    class... Args>
void
traverse(
    T const& I,
    F&& f,
    Args&&... args) const;

Visit the members of specified Symbol.

template<
    std::derived_from<Symbol> T,
    class F,
    class... Args>
void
traverse(
    TraverseOptions const& opts,
    T const& I,
    F&& f,
    Args&&... args) const;

Parameters

Name Description

I

The Symbol to visit.

f

The function to invoke.

args

The arguments to pass to the function.

opts

The options to traverse.

Created with MrDocs