mrdocs::doc::visit
visit overloads
Synopses
Declared in <mrdocs/Metadata/DocComment/Block.hpp>
Visit a block.
template<
std::derived_from<Block> BlockTy,
class Fn,
class... Args>
decltype(auto)
visit(
BlockTy& info,
Fn&& fn,
Args&&... args);
Visit an inline.
template<
class InlineTy,
class Fn,
class... Args>
requires std::derived_from<InlineTy, Inline>
decltype(auto)
visit(
InlineTy& el,
Fn&& fn,
Args&&... args);
Parameters
| Name | Description |
|---|---|
block |
The block to visit. |
fn |
The function to call for each block. |
args |
Additional arguments to pass to the function. |
el |
The inline element to visit. |
Created with MrDocs