#include <ScopeGuard.h>
Inheritance diagram for Loki::ObjScopeGuardImpl1< Obj, MemFun, P1 >:
Public Member Functions | |
| ~ObjScopeGuardImpl1 () throw () | |
| void | Execute () |
Static Public Member Functions | |
|
static ObjScopeGuardImpl1< Obj, MemFun, P1 > | MakeObjGuard (Obj &obj, MemFun memFun, P1 p1) |
Protected Member Functions | |
| ObjScopeGuardImpl1 (Obj &obj, MemFun memFun, P1 p1) | |
Protected Attributes | |
| Obj & | obj_ |
| MemFun | memFun_ |
| const P1 | p1_ |
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 472 of file ScopeGuard.h.
1.5.1-p1