libstdc++
std::pointer_traits< _Tp * > Struct Template Reference

List of all members.

Public Types

Static Public Member Functions


Detailed Description

template<typename _Tp>
struct std::pointer_traits< _Tp * >

Partial specialization for built-in pointers.

Definition at line 158 of file ptr_traits.h.


Member Typedef Documentation

template<typename _Tp >
typedef ptrdiff_t std::pointer_traits< _Tp * >::difference_type

Type used to represent the difference between two pointers.

Definition at line 165 of file ptr_traits.h.

template<typename _Tp >
typedef _Tp std::pointer_traits< _Tp * >::element_type

The type pointed to.

Definition at line 163 of file ptr_traits.h.

template<typename _Tp >
typedef _Tp* std::pointer_traits< _Tp * >::pointer

The pointer type.

Definition at line 161 of file ptr_traits.h.


Member Function Documentation

template<typename _Tp >
static pointer std::pointer_traits< _Tp * >::pointer_to ( typename __ptrtr_not_void< element_type >::__type &  __r) [inline, static]

Obtain a pointer to an object.

Parameters:
__rA reference to an object of type element_type
Returns:
addressof(__r)

Definition at line 176 of file ptr_traits.h.

References std::addressof().


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