AutoResource | ( | closer_rref | rrefCloser | ) |
Constructs an AutoResource object from an rvalue reference to a closer object using move semantics, with the value-initialized default handle and the default checker object.
rrefCloser | is an rvalue reference to a closer object to be used for closing handles owned and managed by the created instance of the AutoResource. |