
9 Mar
2006
9 Mar
'06
7:26 p.m.
On 3/9/06, Peter Dimov <pdimov@mmltd.net> wrote:
I'm willing to add scoped_array::release if nobody objects and if you contribute a test. But keep in mind that 1.34 is closed for new features.
My feeling is that, since scoped_ptr doesn't have release, scoped_array shouldn't either. It seems to me that the whole point of scoped_* is that the ownership cannot be moved elsewhere. Though that would suggest adding auto_array, which is something whose use shouldn't be encouraged, imho... ~ SWMc