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 _Ty element_type
 
typedef _Ty * pointer
 
typedef ptrdiff_t difference_type
 
template<class _Other >
using rebind = _Other *
 
typedef _If< is_void< _Ty >::value, char &, typename add_lvalue_reference< _Ty >::type >::type _Reftype
 

Static Public Member Functions

static pointer pointer_to (_Reftype _Val)
 

Member Typedef Documentation

template<class _Ty >
typedef _If<is_void<_Ty>::value, char&, typename add_lvalue_reference<_Ty>::type>::type pointer_traits< _Ty * >::_Reftype
template<class _Ty >
typedef ptrdiff_t pointer_traits< _Ty * >::difference_type
template<class _Ty >
typedef _Ty 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 = _Other *

Member Function Documentation

template<class _Ty >
static pointer pointer_traits< _Ty * >::pointer_to ( _Reftype  _Val)
inlinestatic
289  { // convert raw reference to pointer
290  return (_STD addressof(_Val));
291  }
_STD_BEGIN constexpr _Ty * addressof(_Ty &_Val) _NOEXCEPT
Definition: xstddef:628
_FwdIt const _Ty _Val
Definition: algorithm:1938

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