std::visit_format_arg
来自cppreference.com
                    
                                        
                    
                    
                                                            
                    |   在标头  <format> 定义
  | 
||
|   template<class Visitor, class Context> /*see below*/ visit_format_arg(Visitor&& vis, std::basic_format_arg<Context> arg);  | 
 (C++20 起)  (C++26 中弃用)  | 
|
应用 vis 到 arg 中含有的对象。等价于
std::visit(std::forward<Visitor>(vis), value)
其中 value 是存储于 arg 的 std::variant 。
参数
| vis | - |   接受来自 arg 的每个可能可选项的可调用 (Callable) 
 | 
| arg | - | 要观览的 std::basic_format_arg | 
返回值
选择的观览器调用所返回的值。
示例
| 本节未完成 原因:暂无示例  |