bool operator() | ( | const HANDLE_TYPE & | h | ) | const |
The default check function.
h | is a handle to be checked. If it is created using the default constructor, HANDLE_TYPE(), the check fails and the handle would not be closed by the instance of the AutoResource holding ownership of the handle. |