Invokes reset() and destroys the resource.

Synopsis

Declared in header <boost/scope/unique_resource.hpp>

~unique_resource() noexcept(detail::is_nothrow_invocable<deleter_type &, resource_type &>::value);

Description

Throws: Nothing, unless invoking the deleter throws.