std::reference_wrapper<T>::get, std::reference_wrapper<T>::operator T&
operator T& () const noexcept; |
(since C++11) (until C++20) |
|
constexpr operator T& () const noexcept; |
(since C++20) | |
T& get() const noexcept; |
(since C++11) (until C++20) |
|
constexpr T& get() const noexcept; |
(since C++20) |
Returns the stored reference.
Parameters
(none).
Return value
The stored reference.
See also
calls the stored function (public member function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/utility/functional/reference_wrapper/get