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 ;
(depuis C++11)
(constexpr depuis C++20)

Opérateur d'affectation par copie. Abandonne la référence actuelle et stocke une référence à other. get ( ) .

Paramètres

autre - référence wrapper à copier

Valeur de retour

* this