table of contents
std::reference_wrapper::operator=(3) | C++ Standard Libary | std::reference_wrapper::operator=(3) |
NAME¶
std::reference_wrapper::operator= - std::reference_wrapper::operator=
Synopsis¶
reference_wrapper& operator=( const reference_wrapper&
(since C++11)
other ) noexcept; (constexpr since C++20)
Copy assignment operator. Drops the current reference and stores a reference
to
other.get().
Parameters¶
other - reference wrapper to copy
Return value¶
*this
2024.06.10 | http://cppreference.com |