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

FreeBSD Manual Pages

  
 
  

home | help
deductiongu...nce_wrapper(3)  C++ Standard Libary deductiongu...nce_wrapper(3)

NAME
       deductionguidesforstd::reference_wrapper	 - deductionguidesforstd::ref-
       erence_wrapper

Synopsis
	  Defined in header <functional>
	  template< typename T >			    (since C++17)
	  reference_wrapper( T&	) -> reference_wrapper<T>;

	  One deduction	guide is provided for std::reference_wrapper  to  sup-
       port deduction of
	  the sole class template parameter.

Example
	   This	section	is incomplete
	   Reason: no example

	  Defect reports

	  The following	behavior-changing defect reports were applied retroac-
       tively to
	  previously published C++ standards.

	     DR	       Applied	   to		   Behavior    as    published
       Correct behavior
	  LWG 2981 C++17      a	redundant deduction guide  from		   re-
       moved
			      reference_wrapper<T> was provided
	  LWG 2993 C++17      defect resolution	removed	a constructor	 added
       deduction guide
			      used  for	 class	template argument deduction to
       compensate

Category:
	    * Todo no example

http://cppreference.com		  2024.06.10	  deductiongu...nce_wrapper(3)

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

home | help