std::experimental::unique_resource<R, D>::~unique_resource

Disposes the resource by calling the deleter with the underlying resource handle if the unique_resource owns it, equivalent to calling reset(). Then destroys the stored resource handle and the deleter.

# Declarations

~unique_resource();

(library fundamentals TS v3)

# See also