.TH "std::pointer_traits< _Ptr >" 3 "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::pointer_traits< _Ptr > \- Uniform interface to all pointer-like types\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .PP Inherits std::__ptr_traits_impl< _Ptr, _Elt >\&. .SS "Public Types" .in +1c .ti -1c .RI "\fBusing\fP \fBdifference_type\fP" .br .RI "The type used to represent the difference between two pointers\&. " .ti -1c .RI "\fBusing\fP \fBelement_type\fP" .br .RI "The type pointed to\&. " .ti -1c .RI "\fBusing\fP \fBpointer\fP" .br .RI "The pointer type\&. " .ti -1c .RI "template \fBusing\fP \fBrebind\fP" .br .RI "A pointer to a different type\&. " .in -1c .SS "Static Public Member Functions" .in +1c .ti -1c .RI "\fBstatic\fP pointer \fBpointer_to\fP (element_type &__r)" .br .RI "Obtain a pointer to an object\&. " .in -1c .SH "Detailed Description" .PP .SS "template .br struct std::pointer_traits< _Ptr >"Uniform interface to all pointer-like types\&. .PP \fBSince\fP .RS 4 C++11 .RE .PP .SH "Member Typedef Documentation" .PP .SS "template \fBusing\fP std::__ptr_traits_impl< _Ptr, \fB_Elt\fP >::difference_type\fR [inherited]\fP" .PP The type used to represent the difference between two pointers\&. .SS "template \fBusing\fP std::__ptr_traits_impl< _Ptr, \fB_Elt\fP >::element_type\fR [inherited]\fP" .PP The type pointed to\&. .SS "template \fBusing\fP std::__ptr_traits_impl< _Ptr, \fB_Elt\fP >::pointer\fR [inherited]\fP" .PP The pointer type\&. .SS "template template \fBusing\fP std::__ptr_traits_impl< _Ptr, \fB_Elt\fP >::rebind\fR [inherited]\fP" .PP A pointer to a different type\&. .SH "Member Function Documentation" .PP .SS "template::value> \fBstatic\fP pointer std::__ptr_traits_ptr_to< _Ptr, \fB_Elt\fP, bool >::pointer_to (element_type & __r)\fR [inline]\fP, \fR [static]\fP, \fR [inherited]\fP" .PP Obtain a pointer to an object\&. .PP \fBParameters\fP .RS 4 \fI__r\fP A reference to an object of type \fRelement_type\fP .RE .PP \fBReturns\fP .RS 4 \fRpointer::pointer_to(__r)\fP .RE .PP \fBPrecondition\fP .RS 4 \fRpointer::pointer_to(__r)\fP is a valid expression\&. .RE .PP .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.