libstdc++
|
#include <ptr_traits.h>
Inherits std::__ptr_traits_ptr_to< _Ptr, _Elt, bool >.
Public Types | |
typedef ptrdiff_t | difference_type |
typedef _Tp | element_type |
typedef _Tp * | pointer |
template<typename _Up > | |
using | rebind = _Up * |
Static Public Member Functions | |
static pointer | pointer_to (element_type &__e) |
Partial specialization for built-in pointers.
Definition at line 210 of file ptr_traits.h.
typedef ptrdiff_t std::pointer_traits< _Tp * >::difference_type |
Type used to represent the difference between two pointers.
Definition at line 217 of file ptr_traits.h.
typedef _Tp std::pointer_traits< _Tp * >::element_type |
The type pointed to.
Definition at line 215 of file ptr_traits.h.
typedef _Tp* std::pointer_traits< _Tp * >::pointer |
The pointer type.
Definition at line 213 of file ptr_traits.h.
A pointer to a different type.
Definition at line 219 of file ptr_traits.h.
|
inlinestaticinherited |
Obtain a pointer to an object.
__r | A reference to an object of type element_type |
pointer::pointer_to(__e)
pointer::pointer_to(__e)
is a valid expression. Definition at line 108 of file ptr_traits.h.