On Tue, Apr 7, 2009 at 7:49 AM, Thorsten Ottosen <thorsten.ottosen@dezide.com> wrote:

I wonder if we could call this beast

  join_view(r1,r2)

or something. Perhaps support for 3 and 4 ranges would be nice.

How about r1 | join(r2) | join(r3) ?

I was thinking that this looks very much like a job for a range adaptor. The support for multiple ranges is almost inherent because you can chain the iterator such that the second iterator type is a join_iterator. Is there any good reason that this should not be a range adaptor that anyone can think of?
 


-Thorsten
____________________________________________

Best Wishes,
Neil Groves