Data Structures & Algorithms in C++
Goodrich, Tamassia, Mount and Goldwasser
Loading...
Searching...
No Matches
Public Member Functions | Friends
dsac::list::SinglyLinkedList< T >::iterator Class Reference

#include <singly_linked.h>

Collaboration diagram for dsac::list::SinglyLinkedList< T >::iterator:
Collaboration graph

Public Member Functions

 iterator (Node *ptr=nullptr)
 
T & operator* () const
 
T * operator-> () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
bool operator== (iterator rhs) const
 
bool operator!= (iterator rhs) const
 

Friends

class SinglyLinkedList
 

Constructor & Destructor Documentation

◆ iterator()

template<typename T >
dsac::list::SinglyLinkedList< T >::iterator::iterator ( Node *  ptr = nullptr)
inline

Member Function Documentation

◆ operator!=()

template<typename T >
bool dsac::list::SinglyLinkedList< T >::iterator::operator!= ( iterator  rhs) const
inline

◆ operator*()

template<typename T >
T & dsac::list::SinglyLinkedList< T >::iterator::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename T >
iterator & dsac::list::SinglyLinkedList< T >::iterator::operator++ ( )
inline

◆ operator++() [2/2]

template<typename T >
iterator dsac::list::SinglyLinkedList< T >::iterator::operator++ ( int  )
inline

◆ operator->()

template<typename T >
T * dsac::list::SinglyLinkedList< T >::iterator::operator-> ( ) const
inline

◆ operator==()

template<typename T >
bool dsac::list::SinglyLinkedList< T >::iterator::operator== ( iterator  rhs) const
inline

Friends And Related Symbol Documentation

◆ SinglyLinkedList

template<typename T >
friend class SinglyLinkedList
friend

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