I am using boost::scoped_ptr
in the code which I would like to replace with std::unique_ptr
. I would like to know if there are any disadvantages in moving to std::unique_ptr
. Boost is portable across platforms and compilers. But I am not sure if C++11 supported by all compilers such as MSVC. I know GCC and Clang support C++11 pretty well.
I've already read the SO question “intrusive_ptr
in C++11” whose short answer is “No”. So If anyone had experience in using both, please share your comments and thoughts