栈  0.1
数据结构_第3章
All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Pages
List::List< T >::iterator Class Referenceabstract

#include <List.h>

Inheritance diagram for List::List< T >::iterator:
[legend]
Collaboration diagram for List::List< T >::iterator:
[legend]

Public Member Functions

virtual T & operator* ()=0
 
virtual const T & operator* () const =0
 
virtual iteratoroperator++ ()=0
 
virtual bool operator== (const iterator &rhs) const =0
 
virtual bool operator!= (const iterator &rhs) const =0
 
virtual bool operator== (const const_iterator &rhs) const =0
 
virtual bool operator!= (const const_iterator &rhs) const =0
 

Detailed Description

template<typename T>
class List::List< T >::iterator

Definition at line 33 of file List.h.

Member Function Documentation

◆ operator!=() [1/2]

template<typename T >
virtual bool List::List< T >::const_iterator::operator!= ( const const_iterator rhs) const
pure virtualinherited

◆ operator!=() [2/2]

template<typename T >
virtual bool List::List< T >::iterator::operator!= ( const iterator rhs) const
pure virtual

◆ operator*() [1/2]

template<typename T >
virtual const T& List::List< T >::iterator::operator* ( ) const
pure virtual

◆ operator*() [2/2]

template<typename T >
virtual T& List::List< T >::iterator::operator* ( )
pure virtual

◆ operator++()

template<typename T >
virtual iterator& List::List< T >::iterator::operator++ ( )
pure virtual

◆ operator==() [1/2]

template<typename T >
virtual bool List::List< T >::const_iterator::operator== ( const const_iterator rhs) const
pure virtualinherited

◆ operator==() [2/2]

template<typename T >
virtual bool List::List< T >::iterator::operator== ( const iterator rhs) const
pure virtual

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