std::reference_wrapper::operator=

From cppreference.com
 
 
 
Function objects


Function wrappers
(C++11)
(C++11)
(C++17)
Bind
(C++11)
Reference wrappers
(C++11)(C++11)
Operator wrappers
Negators
(deprecated)
(deprecated)

(deprecated)
(deprecated)
Searchers
Old binders and adaptors
(until C++17)
(until C++17)
(until C++17)
(until C++17)
(until C++17)(until C++17)(until C++17)(until C++17)
(until C++17)(until C++17)
(until C++17)(until C++17)

(until C++17)
(until C++17)(until C++17)(until C++17)(until C++17)
 
 
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