Namespaces
Variants

std::reference_wrapper<T>::operator=

From cppreference.com
Revision as of 05:50, 20 April 2012 by P12bot (talk | contribs) (Text replace - "{{cpp|" to "{{c|")

Template:cpp/utility/functional/reference wrapper/sidebar

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