libstdc++
|
#include <ptr_traits.h>
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 |
Static Public Member Functions | |
static pointer | pointer_to (element_type &__e) |
Uniform interface to all pointer-like types.
Definition at line 194 of file ptr_traits.h.
|
inherited |
The type used to represent the difference between two pointers.
Definition at line 175 of file ptr_traits.h.
|
inherited |
The type pointed to.
Definition at line 172 of file ptr_traits.h.
|
inherited |
The pointer type.
Definition at line 169 of file ptr_traits.h.
|
inherited |
A pointer to a different type.
Definition at line 179 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.