Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::visit_format_arg(3)      C++ Standard Libary     std::visit_format_arg(3)

NAME
       std::visit_format_arg - std::visit_format_arg

Synopsis
	  Defined in header <format>
	  template<class Visitor, class	Context>
	  /*see		below*/		visit_format_arg(Visitor&&	  vis,
       (since C++20)
	  std::basic_format_arg<Context> arg);

	  Applies the visitor vis to the object	contained in  arg.  Equivalent
       to

	  std::visit(std::forward<Visitor>(vis), value)

	  where	value is the std::variant stored in arg.

Parameters
	  vis -	a Callable that	accepts	every possible alternative from	arg
	  arg -	a std::basic_format_arg	to be visited

Return value
	  The value returned by	the selected invocation	of the visitor.

Example
	   This	section	is incomplete
	   Reason: no example

See also
http://cppreference.com		  2022.07.31	      std::visit_format_arg(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::visit_format_arg&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help