Scroll to navigation

std::experimental::get_underlying(3) C++ Standard Libary std::experimental::get_underlying(3)

NAME

std::experimental::get_underlying - std::experimental::get_underlying

Synopsis


template< class T >
constexpr T& get_underlying( propagate_const<T>& pt ) (library fundamentals TS v2)
noexcept;
template< class T >
constexpr const T& get_underlying( const (library fundamentals TS v2)
propagate_const<T>& pt ) noexcept;


Retrieves a reference to the pointer-like object stored in a propagate_const.

Parameters


pt - a propagate_const object

Return value


A reference to the pointer-like object stored in pt.

2024.06.10 http://cppreference.com