libstdc++
std::pointer_traits< _Ptr > Struct Template Reference

Inherits std::__ptr_traits_impl< _Ptr, _Elt >.

Public Types

using difference_type = typename __difference< _Ptr >::type
 
using element_type = _Elt
 
using pointer = _Ptr
 
template<typename _Up >
using rebind = typename __rebind< _Ptr, _Up >::type
 

Detailed Description

template<typename _Ptr>
struct std::pointer_traits< _Ptr >

Uniform interface to all pointer-like types.

Since
C++11

Definition at line 194 of file ptr_traits.h.

Member Typedef Documentation

template<typename _Ptr, typename _Elt>
using std::__ptr_traits_impl< _Ptr, _Elt >::difference_type = typename __difference<_Ptr>::type
inherited

The type used to represent the difference between two pointers.

Definition at line 175 of file ptr_traits.h.

template<typename _Ptr, typename _Elt>
using std::__ptr_traits_impl< _Ptr, _Elt >::element_type = _Elt
inherited

The type pointed to.

Definition at line 172 of file ptr_traits.h.

template<typename _Ptr, typename _Elt>
using std::__ptr_traits_impl< _Ptr, _Elt >::pointer = _Ptr
inherited

The pointer type.

Definition at line 169 of file ptr_traits.h.

template<typename _Ptr, typename _Elt>
template<typename _Up >
using std::__ptr_traits_impl< _Ptr, _Elt >::rebind = typename __rebind<_Ptr, _Up>::type
inherited

A pointer to a different type.

Definition at line 179 of file ptr_traits.h.


The documentation for this struct was generated from the following file: