
5 Oct
2009
5 Oct
'09
11:14 p.m.
Paul A. Bristow wrote:
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Neal Becker Sent: Monday, October 05, 2009 2:03 PM To: boost@lists.boost.org 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?