Namespaces
Variants
Actions

std::reference_wrapper<T>::operator=

From cppreference.com
 
 
 
Function objects
Function invocation
(C++17)(C++23)
Identity function object
(C++20)
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++20*)
(until C++20*)
(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++20*)
(until C++20*)
 
 
reference_wrapper& operator=( const reference_wrapper& other ) noexcept;
(since C++11)
(constexpr since C++20)

Copy assignment operator. Drops the current reference and stores a reference to other.get().

[edit] Parameters

other-reference wrapper to copy

[edit] Return value

*this