.TH "std::pointer_traits< _Ptr >" 3cxx "Wed Jul 14 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::pointer_traits< _Ptr > \- Uniform interface to all pointer-like types\&. .SH SYNOPSIS .br .PP .SS "Public Types" .in +1c .ti -1c .RI "using \fBdifference_type\fP = __detected_or_t< ptrdiff_t, __difference_type, _Ptr >" .br .RI "The type used to represent the difference between two pointers\&. " .ti -1c .RI "using \fBelement_type\fP = __detected_or_t< __get_first_arg_t< _Ptr >, __element_type, _Ptr >" .br .RI "The type pointed to\&. " .ti -1c .RI "using \fBpointer\fP = _Ptr" .br .RI "The pointer type\&. " .ti -1c .RI "template using \fBrebind\fP = typename __rebind< _Ptr, _Up >::type" .br .RI "A pointer to a different type\&. " .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "static _Ptr \fBpointer_to\fP (__make_not_void< \fBelement_type\fP > &__e)" .br .in -1c .SH "Detailed Description" .PP .SS "template .br struct std::pointer_traits< _Ptr >" Uniform interface to all pointer-like types\&. .PP Definition at line 83 of file ptr_traits\&.h\&. .SH "Member Typedef Documentation" .PP .SS "template using \fBstd::pointer_traits\fP< _Ptr >::\fBdifference_type\fP = __detected_or_t" .PP The type used to represent the difference between two pointers\&. .PP Definition at line 108 of file ptr_traits\&.h\&. .SS "template using \fBstd::pointer_traits\fP< _Ptr >::\fBelement_type\fP = __detected_or_t<__get_first_arg_t<_Ptr>, __element_type, _Ptr>" .PP The type pointed to\&. .PP Definition at line 104 of file ptr_traits\&.h\&. .SS "template using \fBstd::pointer_traits\fP< _Ptr >::\fBpointer\fP = _Ptr" .PP The pointer type\&. .PP Definition at line 101 of file ptr_traits\&.h\&. .SS "template template using \fBstd::pointer_traits\fP< _Ptr >::\fBrebind\fP = typename __rebind<_Ptr, _Up>::type" .PP A pointer to a different type\&. .PP Definition at line 113 of file ptr_traits\&.h\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.