table of contents
other versions
- Tumbleweed 2026.11.13-1.1
- Leap-16.0
- Leap-15.6
| 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& other ) (since C++11) 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
| 2026.11.10 | http://cppreference.com |