CppDS.com

C++ 98 11 14 17 20 手册

std::experimental::get_underlying

来自cppreference.com
template< class T >
constexpr T& get_underlying(propagate_const<T>& pt) noexcept;
(库基础 TS v2)
template< class T >
constexpr const T& get_underlying(const propagate_const<T>& pt) noexcept;
(库基础 TS v2)

获得到存储于 propagate_const 中的仿指针对象的引用。

参数

pt - propagate_const 对象

返回值

到存储于 pt 中的仿指针对象的引用。

关闭