chsvlib
chsv helper source code

◆ operator bool()

operator bool ( ) const
explicit

Checks if the stored handle can be closed by calling the checker.

Returns
The operator returns true if the current object of the AutoResource instantiation owns a valid handle, i.e. when the checker called over the stored handle returns true. Otherwise the operator returns false.