This is a really good in-depth tutorial about C++11 smart pointers.

C++11 Smart Pointers