With the new standard coming (and parts already available in some compilers), the new type std::unique_ptr is supposed to be a replacement for std::auto_ptr. Does their usage exactly overlap...
Why is it wrong to use std::auto_ptr<> with standard containers? 6 Answers 6