katyscode.wordpress.com
C++11: Using std::unique_ptr as a class member: initialization, move semantics and custom deleters
Updated 23rd February 2013: Fixed typos in the code, incorrect use of const, clarified the use of the terms “initialization” and “assignment” to be semantically correct, cor…