|
Boost Users : |
Subject: Re: [Boost-users] returning range adaptor generator
From: Nick Stokes (randomaccessiterator_at_[hidden])
Date: 2013-10-01 17:35:02
On Tue, Oct 1, 2013 at 4:55 PM, Kyle Lutz <kyle.r.lutz_at_[hidden]> wrote:
> On Tue, Oct 1, 2013 at 4:21 PM, Nick Stokes
> [..]
> boost::indirected_range<Range>
>
>
Thanks. But the question is not really about one single adaptor that
indirected is. That was just an example (although your answer was useful,
thank you)
How about in general? Say,
template<class Range>
xxx getPuffedRange( Range& r ) { return r | indirected | filtered(puff) |
etc; }
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