std::experimental::unique_resource<R, D>::reset
Min standard notice:
- Disposes the resource by calling the deleter with the underlying resource handle if the unique_resource owns it. The unique_resource does not own the resource after the call.
# Declarations
void reset() noexcept;
(library fundamentals TS v3)
template< class RR >
void reset( RR&& r );
(library fundamentals TS v3)
# Parameters
r: resource handle for a new resource to manage
# Return value
(none)
# Notes
The mechanism ensures no leaking of resources.
# Example
This section is incompleteReason: no example