PIP 6.1.0
Platform-Independent Primitives
Loading...
Searching...
No Matches
PISet< T >::const_iterator Class Reference

Constant iterator over PISet elements. More...

#include <piset.h>

Public Member Functions

 const_iterator ()
 Constructs an invalid iterator.
const T & operator* () const
 Returns the current element.
const T & operator-> () const
 Provides access to the current element.
const_iterator & operator++ ()
 Moves iterator to the next element.
const_iterator operator++ (int)
 Returns iterator before incrementing.
const_iterator & operator-- ()
 Moves iterator to the previous element.
const_iterator operator-- (int)
 Returns iterator before decrementing.
const_iterator & operator+= (const const_iterator &it)
 Adds offset of iterator it.
const_iterator & operator+= (size_t p)
 Advances iterator by p elements.
const_iterator & operator-= (const const_iterator &it)
 Subtracts offset of iterator it.
const_iterator & operator-= (size_t p)
 Moves iterator back by p elements.
bool operator== (const const_iterator &it) const
 Checks iterator equality.
bool operator!= (const const_iterator &it) const
 Checks iterator inequality.

Detailed Description

template<typename T>
class PISet< T >::const_iterator

Constant iterator over PISet elements.