BFLibCPP 0.1
CPP Library
Loading...
Searching...
No Matches
BF::List< L, S >::Iterator Class Reference

#include <list.hpp>

Public Member Functions

 Iterator (Node *n)
 
operator* () const
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
bool operator!= (const Iterator &i)
 
bool operator== (const Iterator &i)
 

Detailed Description

template<typename L, typename S = int>
class BF::List< L, S >::Iterator

Range-Based implementation for our Linked list ref: https://en.cppreference.com/w/cpp/language/range-for

Constructor & Destructor Documentation

◆ Iterator()

template<typename L , typename S = int>
BF::List< L, S >::Iterator::Iterator ( Node * n)
inline

Member Function Documentation

◆ operator!=()

template<typename L , typename S = int>
bool BF::List< L, S >::Iterator::operator!= ( const Iterator & i)
inline

◆ operator*()

template<typename L , typename S = int>
L BF::List< L, S >::Iterator::operator* ( ) const
inline
Here is the call graph for this function:

◆ operator++() [1/2]

template<typename L , typename S = int>
Iterator & BF::List< L, S >::Iterator::operator++ ( )
inline
Here is the call graph for this function:

◆ operator++() [2/2]

template<typename L , typename S = int>
Iterator BF::List< L, S >::Iterator::operator++ ( int )
inline
Here is the call graph for this function:

◆ operator==()

template<typename L , typename S = int>
bool BF::List< L, S >::Iterator::operator== ( const Iterator & i)
inline

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