Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Public Types | Public Member Functions | Data Fields
Pointer< T > Struct Template Reference
Collaboration diagram for Pointer< T >:
Collaboration graph
[legend]

Public Types

typedef T value_type
 
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef value_type * pointer
 
typedef const value_type * const_pointer
 
typedef value_type & reference
 
typedef const value_type & const_reference
 
typedef std::random_access_iterator_tag iterator_category
 

Public Member Functions

 Pointer ()
 
 Pointer (const Pointer &rhs)
 
 Pointer (difference_type off, int)
 
reference operator* () const
 
bool operator== (const Pointer &rhs) const
 
bool operator!= (const Pointer &rhs) const
 
bool operator< (const Pointer &rhs) const
 
bool operator<= (const Pointer &rhs) const
 
bool operator> (const Pointer &rhs) const
 
bool operator>= (const Pointer &rhs) const
 
Pointer & operator++ ()
 
Pointer & operator-- ()
 
Pointer & operator+= (difference_type i)
 
Pointer & operator-= (difference_type i)
 
Pointer operator+ (difference_type i) const
 
Pointer operator- (difference_type i) const
 
difference_type operator- (const Pointer &rhs) const
 

Data Fields

difference_type offset_
 

Detailed Description

template<class T>
struct Pointer< T >

Definition at line 59 of file 23.vector.allocator.cpp.

Member Typedef Documentation

◆ const_pointer

template<class T >
typedef const value_type* Pointer< T >::const_pointer

Definition at line 65 of file 23.vector.allocator.cpp.

◆ const_reference

template<class T >
typedef const value_type& Pointer< T >::const_reference

Definition at line 67 of file 23.vector.allocator.cpp.

◆ difference_type

template<class T >
typedef std::ptrdiff_t Pointer< T >::difference_type

Definition at line 63 of file 23.vector.allocator.cpp.

◆ iterator_category

template<class T >
typedef std::random_access_iterator_tag Pointer< T >::iterator_category

Definition at line 68 of file 23.vector.allocator.cpp.

◆ pointer

template<class T >
typedef value_type* Pointer< T >::pointer

Definition at line 64 of file 23.vector.allocator.cpp.

◆ reference

template<class T >
typedef value_type& Pointer< T >::reference

Definition at line 66 of file 23.vector.allocator.cpp.

◆ size_type

template<class T >
typedef std::size_t Pointer< T >::size_type

Definition at line 62 of file 23.vector.allocator.cpp.

◆ value_type

template<class T >
typedef T Pointer< T >::value_type

Definition at line 61 of file 23.vector.allocator.cpp.

Constructor & Destructor Documentation

◆ Pointer() [1/3]

template<class T >
Pointer< T >::Pointer ( )
inline

Definition at line 70 of file 23.vector.allocator.cpp.

◆ Pointer() [2/3]

template<class T >
Pointer< T >::Pointer ( const Pointer< T > &  rhs)
inline

Definition at line 72 of file 23.vector.allocator.cpp.

◆ Pointer() [3/3]

template<class T >
Pointer< T >::Pointer ( difference_type  off,
int   
)
inline

Definition at line 75 of file 23.vector.allocator.cpp.

Member Function Documentation

◆ operator!=()

template<class T >
bool Pointer< T >::operator!= ( const Pointer< T > &  rhs) const
inline

Definition at line 85 of file 23.vector.allocator.cpp.

◆ operator*()

template<class T >
reference Pointer< T >::operator* ( ) const
inline

Definition at line 77 of file 23.vector.allocator.cpp.

◆ operator+()

template<class T >
Pointer Pointer< T >::operator+ ( difference_type  i) const
inline

Definition at line 127 of file 23.vector.allocator.cpp.

◆ operator++()

template<class T >
Pointer & Pointer< T >::operator++ ( )
inline

Definition at line 105 of file 23.vector.allocator.cpp.

◆ operator+=()

template<class T >
Pointer & Pointer< T >::operator+= ( difference_type  i)
inline

Definition at line 117 of file 23.vector.allocator.cpp.

◆ operator-() [1/2]

template<class T >
difference_type Pointer< T >::operator- ( const Pointer< T > &  rhs) const
inline

Definition at line 135 of file 23.vector.allocator.cpp.

◆ operator-() [2/2]

template<class T >
Pointer Pointer< T >::operator- ( difference_type  i) const
inline

Definition at line 131 of file 23.vector.allocator.cpp.

◆ operator--()

template<class T >
Pointer & Pointer< T >::operator-- ( )
inline

Definition at line 111 of file 23.vector.allocator.cpp.

◆ operator-=()

template<class T >
Pointer & Pointer< T >::operator-= ( difference_type  i)
inline

Definition at line 123 of file 23.vector.allocator.cpp.

◆ operator<()

template<class T >
bool Pointer< T >::operator< ( const Pointer< T > &  rhs) const
inline

Definition at line 89 of file 23.vector.allocator.cpp.

◆ operator<=()

template<class T >
bool Pointer< T >::operator<= ( const Pointer< T > &  rhs) const
inline

Definition at line 93 of file 23.vector.allocator.cpp.

◆ operator==()

template<class T >
bool Pointer< T >::operator== ( const Pointer< T > &  rhs) const
inline

Definition at line 81 of file 23.vector.allocator.cpp.

◆ operator>()

template<class T >
bool Pointer< T >::operator> ( const Pointer< T > &  rhs) const
inline

Definition at line 97 of file 23.vector.allocator.cpp.

◆ operator>=()

template<class T >
bool Pointer< T >::operator>= ( const Pointer< T > &  rhs) const
inline

Definition at line 101 of file 23.vector.allocator.cpp.

Field Documentation

◆ offset_

template<class T >
difference_type Pointer< T >::offset_

Definition at line 141 of file 23.vector.allocator.cpp.


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