deductionguidesforstd::reference_wrapper (3) - Linux Man Pages
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 support deduction of the sole class template parameter.
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
DR Applied to Behavior as published Correct behavior
LWG_2981 C++17 a redundant deduction guide from reference_wrapper<T> was provided removed
LWG_2993 C++17 defect resolution removed a constructor used for class template argument deduction added deduction guide to compensate
Linux man pages generated by: SysTutorials