A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/utility/functional/reference_wrapper/deduction_guides.html below:

deduction guides for std::reference_wrapper - cppreference.com

template< typename T >
reference_wrapper( T& ) -> reference_wrapper<T>;

(since C++17)

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

[edit] Example [edit] Defect reports

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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4