libstdc++
|
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 (typename __ptrtr_not_void< element_type >::__type &__r) noexcept |
Partial specialization for built-in pointers.
Definition at line 150 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 157 of file ptr_traits.h.
typedef _Tp std::pointer_traits< _Tp * >::element_type |
The type pointed to.
Definition at line 155 of file ptr_traits.h.
typedef _Tp* std::pointer_traits< _Tp * >::pointer |
The pointer type.
Definition at line 153 of file ptr_traits.h.
|
inlinestaticnoexcept |
Obtain a pointer to an object.
__r | A reference to an object of type element_type |
addressof(__r)
Definition at line 168 of file ptr_traits.h.
References std::addressof().