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  

r_back_insert_range Class Template Reference
[Range Adaptors]

Adapts a range for back-insertion. More...

#include <adaptors.hpp>

List of all members.

Public Types

typedef R range_type
 The range type.

typedef R::iterator iterator
 The iterator type.

typedef R::value_type value_type
 The value type.

typedef r_back_insert_range<
R > 
class_type
 The type of this instantiation.


Public Methods

 r_back_insert_range (R &r)
 Constructor.

 operator bool () const
 Indicates whether the range is open.

value_type operator * ()
 Returns the current value in the range.

class_typeoperator++ ()
 Advances the current position in the range.

class_type operator++ (int)
 Advances the current position in the range, returning a copy of the range prior to its being advanced.

iterator begin ()
 Returns an iterator to the current position of the range.

iterator end ()
 Returns an iterator to the end of the range.


Detailed Description

template<class R>
class stlsoft::r_back_insert_range< R >

Adapts a range for back-insertion.


Member Typedef Documentation

typedef r_back_insert_range<R> class_type
 

The type of this instantiation.

typedef R::iterator iterator
 

The iterator type.

typedef R range_type
 

The range type.

typedef R::value_type value_type
 

The value type.


Constructor & Destructor Documentation

r_back_insert_range R &    r
 

Constructor.


Member Function Documentation

iterator begin  
 

Returns an iterator to the current position of the range.

iterator end  
 

Returns an iterator to the end of the range.

value_type operator *  
 

Returns the current value in the range.

operator bool  
 

Indicates whether the range is open.

class_type operator++ int    [inline]
 

Advances the current position in the range, returning a copy of the range prior to its being advanced.

class_type& operator++  
 

Advances the current position in the range.


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

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