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 ;
(начиная с C++11)
(constexpr начиная с C++20)

Оператор копирующего присваивания. Освобождает текущую ссылку и сохраняет ссылку на other. get ( ) .

Параметры

другой - ссылочная обёртка для копирования

Возвращаемое значение

* this