#include <src/util/ScopeGuard.h>
Public Member Functions | |
void | Execute () |
~ScopeGuardImpl2 () throw () | |
Static Public Member Functions | |
static ScopeGuardImpl2< F, P1, P2 > | MakeGuard (F fun, P1 p1, P2 p2) |
Protected Member Functions | |
ScopeGuardImpl2 (F fun, P1 p1, P2 p2) | |
Protected Attributes | |
F | fun_ |
const P1 | p1_ |
const P2 | p2_ |
This class has a single standalone helper function, MakeGuard which creates and returns a ScopeGuard.
Loki::ScopeGuardImpl2< F, P1, P2 >::~ScopeGuardImpl2 | ( | ) | throw () [inline] |
References Loki::ScopeGuardImplBase::SafeExecute().
Loki::ScopeGuardImpl2< F, P1, P2 >::ScopeGuardImpl2 | ( | F | fun, | |
P1 | p1, | |||
P2 | p2 | |||
) | [inline, protected] |
void Loki::ScopeGuardImpl2< F, P1, P2 >::Execute | ( | ) | [inline] |
static ScopeGuardImpl2<F, P1, P2> Loki::ScopeGuardImpl2< F, P1, P2 >::MakeGuard | ( | F | fun, | |
P1 | p1, | |||
P2 | p2 | |||
) | [inline, static] |
F Loki::ScopeGuardImpl2< F, P1, P2 >::fun_ [protected] |
Referenced by Loki::ScopeGuardImpl2< F, P1, P2 >::Execute().
const P1 Loki::ScopeGuardImpl2< F, P1, P2 >::p1_ [protected] |
Referenced by Loki::ScopeGuardImpl2< F, P1, P2 >::Execute().
const P2 Loki::ScopeGuardImpl2< F, P1, P2 >::p2_ [protected] |
Referenced by Loki::ScopeGuardImpl2< F, P1, P2 >::Execute().