There are a lot of great features in C++11, but unique_ptr stands out in the area of code hygiene. Simply put, this is a magic bullet for dynamically created objects. It won’t solve every problem, but it is really, really good at what it does: managing dynamically created objects with simple ownership semantics.

continue reading.....