12 Jan
2006
12 Jan
'06
8:37 a.m.
On 1/12/06, me22
On 11/01/06, Stuart Dootson
wrote: std::auto_ptr - no dependency on Boost - but the assignment semantics can be confusing at first - personally, I'd not use this.
I'd just like to point out that std::auto_ptr calls delete, not delete[], on the pointer it wons, so it cannot be used with new[]ed arrays.
Quite right - noticed just after I pressed the Send button - I'll use the defence that I never use std::auto_ptr :-) <snip>
- Scott
Stuart