std::reference_wrapper<T>::get, std::reference_wrapper<T>::operator T&

operator T& () const noexcept;
(C++11 起)
(C++20 前)
constexpr operator T& () const noexcept;
(C++20 起)
T& get() const noexcept;
(C++11 起)
(C++20 前)
constexpr T& get() const noexcept;
(C++20 起)

返回存储的引用。

参数

(无)

返回值

存储的引用。

参阅

调用其所存储的函数
(公开成员函数)