void reset | ( | handle_rref | rrHandle = handle_type() | ) |
Closes the resource currently managed by the AutoResource (if any) and takes ownership of rrHandle.
rrHandle | is an rvalue reference to a handle passed using move semantics. The handle describes the resource whose ownership is taken over by the object. Generally, this handle should not be already managed by any other managing mechanism (i.e., this value should not come from calling member get on a managed resources). |