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