Famous C++03 unique_ptr implementation rescued from the lost http://home.roadrunner.com/~hinnant/unique_ptr03.html