ΒΆtemplate <typename Visitor, typename Context>
inline constexpr auto visit_format_arg(
    Visitor&& vis,
    const basic_format_arg<Context>& arg)
    -> decltype(vis(0))

Description

\rstVisits an argument dispatching to the appropriate visit method based on the argument type. For example, if the argument type is ``double`` then ``vis(value)`` will be called with the value of type ``double``.\endrst

Declared at: third_party/fmt/include/fmt/core.h:1665

Templates

Visitor
Context

Parameters

Visitor&& vis
const basic_format_arg<Context>& arg