AutoResource | ( | closer_lref | refCloser | ) |
Constructs an AutoResource object from the specified lvalue reference to a closer object, with the value-initialized default handle and the default checker object.
refCloser | is an lvalue reference to a closer object to be used for closing handles owned and managed by the created instance of the AutoResource. |