^ Type ^ Defined where? ^ Header ^ in C++98 containers? ^ | [[http://en.cppreference.com/w/cpp/memory/auto_ptr | ​std::auto_ptr]] | C++98 (deprecated) | | no (not copyable) | | ​[[http://en.cppreference.com/w/cpp/memory/unique_ptr | std::unique_ptr]] | C++11 | | no (C++11) | | ​[[http://en.cppreference.com/w/cpp/memory/shared_ptr | std::shared_ptr]] | C++11 | | no (C++11) | | [[http://en.cppreference.com/w/cpp/memory/weak_ptr | ​std::weak_ptr]] | C++11 | | no (C++11) | | [[http://www.boost.org/doc/libs/release/libs/smart_ptr/scoped_ptr.htm | ​boost::scoped_ptr]] | Boost | | no (not copyable) | | ​[[http://www.boost.org/doc/libs/release/libs/smart_ptr/shared_ptr.htm | boost::shared_ptr]] | Boost | | yes | | ​[[http://www.boost.org/doc/libs/release/libs/smart_ptr/weak_ptr.htm | boost::weak_ptr]] | Boost | | yes | | ​[[http://www.boost.org/doc/libs/release/libs/smart_ptr/intrusive_ptr.html | boost::intrusive_ptr]] | Boost | | (?) | Note the existence of ​[[http://www.boost.org/doc/libs/release/libs/smart_ptr/scoped_array.htm | boost::scoped_array]] and ​[[http://www.boost.org/doc/libs/release/libs/smart_ptr/shared_array.htm | boost::shared_array]] if the pointer is created with ''new []'' and released with ''delete []''.