Create a managed pointer having the same target object as the specified original, transfer ownership of the object managed by original (if any) to this managed pointer, and reset original to empty.

Synopsis

Declared in <bslma_managedptr.h>

ManagedPtr(bslmf::MovableRef<ManagedPtr> original) noexcept;

Created with MrDocs