2 #include "handle_private.h"
11 Handle::Handle(const Handle &other):
14 priv->handle = other.priv->handle;
17 Handle &Handle::operator=(const Handle &other)
19 priv->handle = other.priv->handle;
28 Handle::operator const void *() const
31 return priv->handle!=INVALID_HANDLE_VALUE ? this : 0;
33 return priv->handle!=-1 ? this : 0;
38 Handle::Private::Private():
40 handle(INVALID_HANDLE_VALUE)
46 Handle::Private &Handle::Private::operator=(H h)