libstdc++
ptr_traits.h File Reference

Go to the source code of this file.

Classes

struct  std::pointer_traits< _Ptr >
 
struct  std::pointer_traits< _Tp * >
 

Namespaces

namespace  __gnu_debug
 
namespace  std
 

Typedefs

template<typename _Ptr , typename _Tp >
using std::__ptr_rebind = typename pointer_traits< _Ptr >::template rebind< _Tp >
 

Functions

template<typename _Tp >
constexpr _Tp * std::to_address (_Tp *__ptr) noexcept
 
template<typename _Ptr >
constexpr auto std::to_address (const _Ptr &__ptr) noexcept
 

Detailed Description

This is an internal header file, included by other library headers. Do not attempt to use it directly. Instead, include <memory>.

Definition in file ptr_traits.h.