libstdc++
|
Public Types | |
using | difference_type = __detected_or_t< ptrdiff_t, __difference_type, _Ptr > |
using | element_type = __detected_or_t_< __get_first_arg_t, __element_type, _Ptr > |
using | pointer = _Ptr |
template<typename _Up > | |
using | rebind = __detected_or_t_< __replace_first_arg_t, __rebind, _Ptr, _Up > |
Static Public Member Functions | |
static _Ptr | pointer_to (__make_not_void< element_type > &__e) |
Uniform interface to all pointer-like types.
Definition at line 78 of file ptr_traits.h.
using std::pointer_traits< _Ptr >::difference_type = __detected_or_t<ptrdiff_t, __difference_type, _Ptr> |
The type used to represent the difference between two pointers.
Definition at line 100 of file ptr_traits.h.
using std::pointer_traits< _Ptr >::element_type = __detected_or_t_<__get_first_arg_t, __element_type, _Ptr> |
The type pointed to.
Definition at line 96 of file ptr_traits.h.
using std::pointer_traits< _Ptr >::pointer = _Ptr |
The pointer type.
Definition at line 92 of file ptr_traits.h.
using std::pointer_traits< _Ptr >::rebind = __detected_or_t_<__replace_first_arg_t, __rebind, _Ptr, _Up> |
A pointer to a different type.
Definition at line 105 of file ptr_traits.h.