Annex D (normative) Compatibility features [depr]

D.22 Deprecated formatting [depr.format]

D.22.1 Header <format> synopsis [depr.format.syn]

The header <format>format.syn has the following additions: namespace std { template<class Visitor, class Context> decltype(auto) visit_format_arg(Visitor&& vis, basic_format_arg<Context> arg); }

D.22.2 Formatting arguments [depr.format.arg]

template<class Visitor, class Context> decltype(auto) visit_format_arg(Visitor&& vis, basic_format_arg<Context> arg);
Effects: Equivalent to: return visit(std​::​forward<Visitor>(vis), arg.value);