|
Boost : |
Subject: Re: [boost] RFC: A better shared_array
From: Rhys Ulerich (rhys.ulerich_at_[hidden])
Date: 2011-10-15 22:57:47
Hi Olaf,
> The current shared_array doesn't keep track of size. This greatly
> decreases it's usefulness. So I wrote a variant that does:
>
> http://pastebin.com/wkdLVqM1
I like the concept of combining a shared_array with an iterator_range.
In my own work I can see an instance knowing its length, type
erasure, and possibly providing custom deleter semantics being handy.
I'd personally call it a shared_range.
- Rhys
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk