Boost logo

Boost :

From: Wilka (wilka_at_[hidden])
Date: 2000-12-27 21:47:04


If scoped_array has a release function, shouldn't scoped_ptr also have one
to be consistent?

As for the 'why not use std::auto_ptr', it could just be to avoid the
interesting style of copying.

> -----Original Message-----
> From: Joseph Gottman [mailto:joegottman_at_[hidden]]
> Sent: 28 December 2000 02:08
> To: boost_at_[hidden]
> Subject: Re: [boost] Suggestion: scoped_ptr::release()
>
>
> All right then, how about scoped_array::release()? auto_ptr
> isn't an option
> in this case.
>


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