cpp/utility/functional/reference wrapper/operator=: Difference between revisions
From cppreference.com
m Text replace - "{{cpp|" to "{{c|" |
m Text replace - "/sidebar" to "/navbar" |
||
| Line 1: | Line 1: | ||
{{cpp/utility/functional/reference_wrapper/title|operator{{=}}}} | {{cpp/utility/functional/reference_wrapper/title|operator{{=}}}} | ||
{{cpp/utility/functional/reference_wrapper/ | {{cpp/utility/functional/reference_wrapper/}} | ||
{{ddcl | notes={{mark since c++11}} | 1= | {{ddcl | notes={{mark since c++11}} | 1= | ||
reference_wrapper& operator=( const reference_wrapper<T>& other ); | reference_wrapper& operator=( const reference_wrapper<T>& other ); | ||
Revision as of 22:17, 15 June 2012
reference_wrapper& operator=( const reference_wrapper<T>& other );
|
(since C++11) | |
Copy assignment operator. Drops the current reference and stores a reference to other.get().
Parameters
| other | - | reference wrapper to copy |
Return values
*this
Exceptions
noexcept specification:
noexcept