If the resource is allocated, calls the deleter function on it and marks the resource as unallocated.
Synopsis
Declared in header <boost/scope/unique_resource.hpp>
void
reset() noexcept(detail::is_nothrow_invocable<deleter_type &, resource_type &>::value);
Description
Throws: Nothing, unless invoking the deleter throws.
Return Value
-
void