utilmm::iterator_sequence< It1, It2 > Class Template Reference

#include <utilmm/iterator_sequence.hh>

List of all members.

Public Member Functions

 iterator_sequence (It1 first, It1 first_end, It2 second_begin, It2 second)
 iterator_sequence ()

Friends

class boost::iterator_core_access


Detailed Description

template<typename It1, typename It2>
class utilmm::iterator_sequence< It1, It2 >

The iterator_sequence template takes two iterator ranges and iterates in the two ranges as if they were a single sequence. The only constraint is that both iterator types have the same value_type.

Constructor & Destructor Documentation

template<typename It1, typename It2>
utilmm::iterator_sequence< It1, It2 >::iterator_sequence ( It1  first,
It1  first_end,
It2  second_begin,
It2  second 
) [inline]

Builds a new sequence Note that for an iterator sequence (fb, fe) + (sb, se),

Parameters:
first the position in the first range
first_end the end of the first range
second_begin the beginning of the second range
second the position in the second range

template<typename It1, typename It2>
utilmm::iterator_sequence< It1, It2 >::iterator_sequence (  )  [inline]


Friends And Related Function Documentation

template<typename It1, typename It2>
friend class boost::iterator_core_access [friend]


The documentation for this class was generated from the following file:
Generated on Tue Feb 19 10:51:01 2008 for Util-- by doxygen 1.5.3
SourceForge.net Project Page