cpp/memory/unique ptr/release

Releases the ownership of the managed object, if any.

get returns after the call.

The caller is responsible for cleaning up the object (e.g. by use of get_deleter).

Parameters
(none)

Return value
Pointer to the managed object or if there was no managed object, i.e. the value which would be returned by get before the call.