Boost logo

Boost Users :

Subject: Re: [Boost-users] [iterators][range][rangeex] range concatenation
From: Neil Groves (neil_at_[hidden])
Date: 2009-04-07 12:55:22


On Tue, Apr 7, 2009 at 7:49 AM, Thorsten Ottosen <
thorsten.ottosen_at_[hidden]> 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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net