Boost logo

Boost :

Subject: Re: [boost] simple range adapter
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2009-10-05 09:28:36


> -----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

---
Paul A. Bristow
Prizet Farmhouse
Kendal, UK   LA8 8AB
+44 1539 561830, mobile +44 7714330204
pbristow_at_[hidden]

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