chsvlib
chsv helper source code
◆
AutoResource()
[2/28]
AutoResource
(
handle_lref
refHandle
)
Constructs an
AutoResource
object from an lvalue handle with the default closer and checker.
Parameters
refHandle
is an lvalue reference to a resource handle which is to be owned and managed by the created object.
Remarks
The object takes ownership of the handle, initializing its stored handle and value-initializing its stored closer and checker.
The only handles closed are the ones which are allowed to be closed by the checker.
Chusov
Memory
AutoResource
Generated on Wed Mar 22 2023 01:03:42 for chsvlib by
1.9.1