Go to the documentation of this file.
25 #ifndef CGU_GERROR_HANDLE_H
26 #define CGU_GERROR_HANDLE_H
54 g_error_free(
const_cast<GError*
>(obj_p));
Definition: application.h:45
void operator()(const GError *obj_p)
Definition: gerror_handle.h:52
This is a generic class for managing the lifetime of objects allocated on freestore.
Definition: shared_handle.h:410
SharedHandle< GError *, GerrorFree > GerrorSharedHandle
A handle comprising a typed instance of the SharedHandle class for managing GError objects.
Definition: gerror_handle.h:76
ScopedHandle< GError *, GerrorFree > GerrorScopedHandle
A handle comprising a typed instance of the ScopedHandle class for managing GError objects.
Definition: gerror_handle.h:67
This is a generic scoped class for managing the lifetime of objects allocated on freestore.
Definition: shared_handle.h:411
A deleter functor for use as the second (Dealloc) template parameter of the SharedHandle,...
Definition: gerror_handle.h:50