mrdocs::doc::visit

Visit a block.

Synopsis

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

template<
    std::derived_from<Block> BlockTy,
    class Fn,
    class... Args>
decltype(auto)
visit(
    BlockTy& info,
    Fn&& fn,
    Args&&... args);

Return Value

The result of calling the function.

Parameters

Name Description

block

The block to visit.

fn

The function to call for each block.

args

Additional arguments to pass to the function.

Created with MrDocs