Boost logo

Boost :

Subject: Re: [boost] simple range adapter
From: Neal Becker (ndbecker2_at_[hidden])
Date: 2009-10-05 19:14:48


Paul A. Bristow wrote:

>> -----Original Message-----
>> From: boost-bounces_at_[hidden]
>> [mailto:boost-bounces_at_[hidden]] On
> Behalf Of
>> Neal Becker
>> Sent: Monday, October 05, 2009 2:03 PM
>> To: boost_at_[hidden]
>> Subject: [boost] simple range adapter
>>
>> I'd be surprised if others haven't needed this.
>
> Yep.
>
> And, as you've guessed, I bodged it.
>
>> While range comes with an adapter for plain old C array,
>> it doesn't come with an adapter from that other (probably more common!)
>> kind of plain old C array: a pointer and length.
>
>> This seems useful. Maybe add to examples?
>
> Yep.
> But it would be even more useful with several explanatory comments (and
> copyright author and a Boost license text) ;-)
>
> Paul
>
OK, how about the attached?




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk