AutoResource | ( | handle_rref | rrefHandle | ) |
Constructs an AutoResource object from an rvalue reference to a handle, using move semantics, with the default closer and checker.
rrefHandle | is an rvalue reference to a resource handle which is to be owned and managed by the created object. |