Skip to:
Most uses of auto_ptr should be replaced by boost::scoped_ptr (the former is copyable, the latter isn't, so using scoped_ptr prevents accidental copying).
Most uses of auto_ptr should be replaced by boost::scoped_ptr (the former is copyable, the latter isn't, so using scoped_ptr prevents accidental copying).