STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Static Public Member Functions | List of all members
pointer_traits< _Ty > Struct Template Reference

Public Types

typedef _Get_element_type< _Ty >::type element_type
 
typedef _Ty pointer
 
typedef _Get_ptr_difference_type< _Ty >::type difference_type
 
template<class _Other >
using rebind = typename _Get_rebind_type< _Ty, _Other >::type
 
typedef _If< is_void< element_type >::value, char &, typename add_reference< element_type >::type >::type _Reftype
 

Static Public Member Functions

static pointer pointer_to (_Reftype _Val)
 

Member Typedef Documentation

template<class _Ty >
typedef _If<is_void<element_type>::value, char&, typename add_reference<element_type>::type>::type pointer_traits< _Ty >::_Reftype
template<class _Ty >
typedef _Get_ptr_difference_type<_Ty>::type pointer_traits< _Ty >::difference_type
template<class _Ty >
typedef _Get_element_type<_Ty>::type pointer_traits< _Ty >::element_type
template<class _Ty >
typedef _Ty pointer_traits< _Ty >::pointer
template<class _Ty >
template<class _Other >
using pointer_traits< _Ty >::rebind = typename _Get_rebind_type<_Ty, _Other>::type

Member Function Documentation

template<class _Ty >
static pointer pointer_traits< _Ty >::pointer_to ( _Reftype  _Val)
inlinestatic
212  { // convert raw reference to pointer
213  return (_Ty::pointer_to(_Val));
214  }
_FwdIt const _Ty _Val
Definition: algorithm:1938

The documentation for this struct was generated from the following file: