Loki
0.1.7
|
#include <ScopeGuard.h>
Additional Inherited Members | |
![]() | |
ScopeGuardImplBase (const ScopeGuardImplBase &other) throw () | |
Copy-constructor takes over responsibility from other ScopeGuard. | |
Implementation class for a class per-instance member function with two parameters. Each parameter is copied by value - use Loki::ByRef if you must use a reference instead. ScopeGuard ignores any value returned from the call within the Execute function.
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.