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