>
> Another thing if we use C++11 mode is that auto_ptr is deprecated. Who knows
> what to do about that?
>

I googled it for you: ;)

"Note: This class template is deprecated as of C++11. unique_ptr is a
new facility with a similar functionality, but with improved security
(no fake copy assignments), added features (deleters) and support for
arrays. See unique_ptr for additional information."

(http://www.cplusplus.com/reference/memory/auto_ptr/)
(http://www.cplusplus.com/reference/memory/unique_ptr/)

Vincent

Reply via email to