Scroll to navigation

std::pointer_traits< _Ptr >(3) Library Functions Manual std::pointer_traits< _Ptr >(3)

NAME

std::pointer_traits< _Ptr > -

SYNOPSIS

Inherits std::__ptrtr_pointer_to< _Ptr >.

Public Types


typedef __ptrtr_diff_type
< _Ptr >::__type difference_type"
typedef __ptrtr_elt_type< _Ptr >
::__type element_type"
typedef _Ptr pointer
template<typename _Up > using rebind = typename __ptrtr_rebind< _Ptr, _Up >::__type

Static Public Member Functions


static _Ptr pointer_to (__element_type &__e)

Detailed Description

template<typename _Ptr>struct std::pointer_traits< _Ptr >

Uniform interface to all pointer-like types.

Definition at line 137 of file ptr_traits.h.

Member Typedef Documentation

template<typename _Ptr > typedef __ptrtr_diff_type<_Ptr>::__type std::pointer_traits< _Ptr >::difference_type

Type used to represent the difference between two pointers.

Definition at line 144 of file ptr_traits.h.

template<typename _Ptr > typedef __ptrtr_elt_type<_Ptr>::__type std::pointer_traits< _Ptr >::element_type

The type pointed to.

Definition at line 142 of file ptr_traits.h.

template<typename _Ptr > typedef _Ptr std::pointer_traits< _Ptr >::pointer

The pointer type.

Definition at line 140 of file ptr_traits.h.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Tue Sep 29 2020 libstdc++