mrdocs::visit

Invoke a function object with a type derived from Symbol

Synopses

Declared in <mrdocs/Metadata/TParam.hpp>

template<
    typename TParamTy,
    typename F,
    typename... Args>
requires std::derived_from<TParamTy, TParam>
constexpr
decltype(auto)
visit(
    TParamTy& P,
    F&& f,
    Args...&&... args);

Invoke a function object with a type derived from Symbol

template<
    std::derived_from<Symbol> TypeTy,
    class F,
    class... Args>
constexpr
decltype(auto)
visit(
    TypeTy& I,
    F&& f,
    Args...&&... args);

Return Value

The result of calling the function object with the derived type

Parameters

Name

Description

info

The Symbol object to visit

fn

The function object to call

args

Additional arguments to pass to the function object

Created with MrDocs