STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

const_iterator Class Reference

Non-mutating (const) iterator for the list_adaptor class. More...

#include <mfcstl_list_adaptor.h>

List of all members.

Public Methods

 const_iterator ()
 Default constructor.

 const_iterator (rhs_type rhs)
 Move constructor

const_iterator const & operator= (rhs_type rhs)
 Move assignment operator

value_type operator * () const
 Dereference operator.

const_iterator & operator++ ()
 Pre-increment operator.

void operator++ (int)
 Post-increment operator.

ms_bool_t operator== (const_iterator const &rhs) const
 Evaluates whether this is equivalent to rhs.

ms_bool_t operator!= (const_iterator const &rhs) const
 Evaluates whether this is not equivalent to rhs.


Detailed Description

template<class C, class T = list_adaptor_traits<C>>
class mfcstl::list_adaptor< C, T >::const_iterator

Non-mutating (const) iterator for the list_adaptor class.

Note:
This currently supports the Input Iterator concept only


Constructor & Destructor Documentation

const_iterator   [inline]
 

Default constructor.

const_iterator rhs_type    rhs [inline]
 

Move constructor


Member Function Documentation

value_type operator *   const [inline]
 

Dereference operator.

ms_bool_t operator!= const_iterator const &    rhs const [inline]
 

Evaluates whether this is not equivalent to rhs.

Parameters:
rhs  The instance from which to copy construct
Return values:
true  The two iterators do not refer to the same position in the same container
false  The two iterators refer to the same position in the same container

void operator++ int    [inline]
 

Post-increment operator.

const_iterator& operator++   [inline]
 

Pre-increment operator.

const_iterator const& operator= rhs_type    rhs [inline]
 

Move assignment operator

ms_bool_t operator== const_iterator const &    rhs const [inline]
 

Evaluates whether this is equivalent to rhs.

Parameters:
rhs  The instance from which to copy construct
Return values:
true  The two iterators refer to the same position in the same container
false  The two iterators do not refer to the same position in the same container


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

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004