std::auto_ptr is broken in VC++ 8 (which is what we use at work). My main gripe with it is that it allows auto_ptr x = new T();, which of cour
std::auto_ptr
auto_ptr x = new T();
As far as I recall, wasn't it :
auto_ptr x = auto_ptr(new T()); ??