
9 Mar
2006
9 Mar
'06
6:26 p.m.
Ralf W. Grosse-Kunstleve wrote:
--- Dan Day <coolmandan@gmail.com> wrote:
On 3/8/06, Ralf W. Grosse-Kunstleve <rwgk@yahoo.com> wrote:
Are there arguments for not adding release()?
Check the FAQ on the scoped_ptr documentation.
Policing arguments ("you shouldn't to this") are OK only if there is an alternative. As I wrote before, there is no auto_array, therefore the FAQ is just frustrating.
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.