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