Namespaces
Variants

std::reference_wrapper<T>:: operator=

From cppreference.net
Utilities library
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++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 ;
(seit C++11)
(constexpr seit C++20)

Kopierzuweisungsoperator. Verwirft die aktuelle Referenz und speichert eine Referenz auf other. get ( ) .

Parameter

other - Referenz-Wrapper zu kopieren

Rückgabewert

* this