| std::pointer_traits< _Ptr >(3cxx) | std::pointer_traits< _Ptr >(3cxx) |
std::pointer_traits< _Ptr > - Uniform interface to all pointer-like types.
#include <memory>
Inherits std::__ptr_traits_impl< _Ptr, _Elt >.
using difference_type = __detected_or_t<
ptrdiff_t, __diff_t, _Ptr >
The type used to represent the difference between two pointers. using
element_type = _Elt
The type pointed to. using pointer = _Ptr
The pointer type. template<typename _Up > using
rebind = typename __detected_or_t<
__replace_first_arg< _Ptr, _Up >, __rebind, _Ptr, _Up
>::type
A pointer to a different type.
static pointer pointer_to (element_type
&__r)
Obtain a pointer to an object.
struct std::pointer_traits< _Ptr >"Uniform interface to all pointer-like types.
Since
The type used to represent the difference between two pointers.
The type pointed to.
The pointer type.
A pointer to a different type.
Obtain a pointer to an object.
Parameters
Returns
Precondition
Generated automatically by Doxygen for libstdc++ from the source code.
| libstdc++ |