void reset | ( | handle_lref | rHandle | ) |
Closes the resource currently managed by the AutoResource (if any) and takes ownership of rHandle.
rHandle | is an lvalue reference to a handle of 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). |