C++ Language/Indirection/SmartPointers/UniqueOwnership

If a smart pointer's memory should be "owned" by exactly one client, use  for the smart pointer type.

Additional information about unique_ptr (includes interactive examples)