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

  1. 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

# Return value

(none)

# Notes

The mechanism ensures no leaking of resources.

# Example

This section is incompleteReason: no example

# See also