数据结构实验5
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
my::deque< T >::const_iterator Class Reference

#include <deque.h>

Inheritance diagram for my::deque< T >::const_iterator:
Inheritance graph
[legend]
Collaboration diagram for my::deque< T >::const_iterator:
Collaboration graph
[legend]

Public Member Functions

 const_iterator ()
 
const T & operator* () const
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
bool operator== (const const_iterator &rhs) const
 
bool operator!= (const const_iterator &rhs) const
 

Protected Member Functions

T & retrieve () const
 
 const_iterator (Node *p)
 

Protected Attributes

Nodecurrent
 

Friends

class deque< T >
 

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

template<typename T >
my::deque< T >::const_iterator::const_iterator ( )
inline

◆ const_iterator() [2/2]

template<typename T >
my::deque< T >::const_iterator::const_iterator ( Node p)
inlineprotected

Member Function Documentation

◆ operator!=()

template<typename T >
bool my::deque< T >::const_iterator::operator!= ( const const_iterator rhs) const
inline

◆ operator*()

template<typename T >
const T& my::deque< T >::const_iterator::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename T >
const_iterator& my::deque< T >::const_iterator::operator++ ( )
inline

◆ operator++() [2/2]

template<typename T >
const_iterator my::deque< T >::const_iterator::operator++ ( int  )
inline

◆ operator==()

template<typename T >
bool my::deque< T >::const_iterator::operator== ( const const_iterator rhs) const
inline

◆ retrieve()

template<typename T >
T& my::deque< T >::const_iterator::retrieve ( ) const
inlineprotected

Friends And Related Function Documentation

◆ deque< T >

template<typename T >
friend class deque< T >
friend

Member Data Documentation

◆ current

template<typename T >
Node* my::deque< T >::const_iterator::current
protected

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