Quote:Original post by MaulingMonkeyQuote:Original post by SneftelQuote:Original post by Replicon
I'd call it 'dangerous' before 'strange' though, and depending on where the issue is encountered, it can yield behaviour that is very... misdirecting?
I wouldn't call it dangerous. Dangerous is something that works 98% of the time, or 100% on your particular computer and 50% on other people's, etc. Something that never works is easy to detect, and something that's easy to detect is easy to fix.
It's no weapon of mass conternation, but it is still dangerous to one's time in the hands of the underinformed or the mentally disturbed. It's unlocked, implicit behavior, also sets dangerous precident in terms of interface design to the impressionable.
I look forward to the implementation of std::unique_ptr as a sane, complete replacement of std::auto_ptr, which I've had reason to use in some scenarios.
Quote:Goooooooooooogle
Your search - std::unique_ptr - did not match any documents.
:( References (pun intended) please?
@Julian: Interesting. I'll play around with it and see if it works, and if it's possible to get rid of the extra pointer. :)