#include <ScopeGuard.h>
Inheritance diagram for Loki::ObjScopeGuardImpl0< Obj, MemFun >:
Public Member Functions | |
~ObjScopeGuardImpl0 () throw () | |
void | Execute () |
Static Public Member Functions | |
static ObjScopeGuardImpl0< Obj, MemFun > | MakeObjGuard (Obj &obj, MemFun memFun) |
Protected Member Functions | |
ObjScopeGuardImpl0 (Obj &obj, MemFun memFun) | |
Protected Attributes | |
Obj & | obj_ |
MemFun | memFun_ |
This class has 3 standalone helper functions which create a ScopeGuard. One is MakeObjGuard, which is deprecated but provided for older code. The other two are MakeGuard overloads, one which takes a pointer to an object, and the other which takes a reference.
Definition at line 410 of file ScopeGuard.h.