.TH "std::pointer_traits< _Ptr >" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::pointer_traits< _Ptr > \- Uniform interface to all pointer-like types\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Types" .in +1c .ti -1c .RI "\fBusing\fP \fBdifference_type\fP = __detected_or_t< \fBptrdiff_t\fP, __difference_type, _Ptr >" .br .RI "The type used to represent the difference between two pointers\&. " .ti -1c .RI "\fBusing\fP \fBelement_type\fP = __detected_or_t< __get_first_arg_t< _Ptr >, __element_type, _Ptr >" .br .RI "The type pointed to\&. " .ti -1c .RI "\fBusing\fP \fBpointer\fP = _Ptr" .br .RI "The pointer type\&. " .ti -1c .RI "template<\fBtypename\fP \fB_Up\fP > \fBusing\fP \fBrebind\fP = \fBtypename\fP __rebind< _Ptr, \fB_Up\fP >::type" .br .RI "A pointer to a different type\&. " .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "\fBstatic\fP _Ptr \fBpointer_to\fP (__make_not_void< \fBelement_type\fP > &__e)" .br .in -1c .SH "Detailed Description" .PP .SS "template<\fBtypename\fP _Ptr> .br struct std::pointer_traits< _Ptr >"Uniform interface to all pointer-like types\&. .PP Definition at line \fB83\fP of file \fBptr_traits\&.h\fP\&. .SH "Member Typedef Documentation" .PP .SS "template<\fBtypename\fP _Ptr > \fBusing\fP \fBstd::pointer_traits\fP< _Ptr >::difference_type = __detected_or_t<\fBptrdiff_t\fP, __difference_type, _Ptr>" .PP The type used to represent the difference between two pointers\&. .PP Definition at line \fB108\fP of file \fBptr_traits\&.h\fP\&. .SS "template<\fBtypename\fP _Ptr > \fBusing\fP \fBstd::pointer_traits\fP< _Ptr >::element_type = __detected_or_t<__get_first_arg_t<_Ptr>, __element_type, _Ptr>" .PP The type pointed to\&. .PP Definition at line \fB104\fP of file \fBptr_traits\&.h\fP\&. .SS "template<\fBtypename\fP _Ptr > \fBusing\fP \fBstd::pointer_traits\fP< _Ptr >::pointer = _Ptr" .PP The pointer type\&. .PP Definition at line \fB101\fP of file \fBptr_traits\&.h\fP\&. .SS "template<\fBtypename\fP _Ptr > template<\fBtypename\fP \fB_Up\fP > \fBusing\fP \fBstd::pointer_traits\fP< _Ptr >::rebind = \fBtypename\fP __rebind<_Ptr, \fB_Up\fP>::type" .PP A pointer to a different type\&. .PP Definition at line \fB113\fP of file \fBptr_traits\&.h\fP\&. .SH "Member Function Documentation" .PP .SS "template<\fBtypename\fP _Ptr > \fBstatic\fP _Ptr \fBstd::pointer_traits\fP< _Ptr >::pointer_to (__make_not_void< \fBelement_type\fP > & __e)\fC [inline]\fP, \fC [static]\fP" .PP Definition at line \fB116\fP of file \fBptr_traits\&.h\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.