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

#include <deque.h>

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

Public Member Functions

 iterator ()
 
T & operator* ()
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
- Public Member Functions inherited from my::deque< T >::const_iterator
 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

 iterator (Node *p)
 
- Protected Member Functions inherited from my::deque< T >::const_iterator
T & retrieve () const
 
 const_iterator (Node *p)
 

Friends

class deque< T >
 

Additional Inherited Members

- Protected Attributes inherited from my::deque< T >::const_iterator
Nodecurrent
 

Constructor & Destructor Documentation

◆ iterator() [1/2]

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

◆ iterator() [2/2]

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

Member Function Documentation

◆ operator*()

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

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

Friends And Related Function Documentation

◆ deque< T >

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

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