------- Comment #1 from paolo dot carlini at oracle dot com 2009-01-19 22:35 ------- Note that auto_ptr is deprecated for the next Standard, replaced by unique_ptr (which we deliver in C++0x mode). In fact the specifications of auto_ptr are known to be irreparably broken. That means we must be *extremely* careful here, if we touch the code we can destabilize an already brittle behavior.
Do we have evidence that other widespread implementations actually behave differently than libstdc++-v3 here? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38916