Loki::ScopeGuardImpl3< F, P1, P2, P3 > Class Template Reference
[Exception-safe code]

#include <ScopeGuard.h>

Inheritance diagram for Loki::ScopeGuardImpl3< F, P1, P2, P3 >:

[legend]
Collaboration diagram for Loki::ScopeGuardImpl3< F, P1, P2, P3 >:
[legend]
List of all members.

Public Member Functions

 ~ScopeGuardImpl3 () throw ()
void Execute ()

Static Public Member Functions

static ScopeGuardImpl3< F,
P1, P2, P3 > 
MakeGuard (F fun, P1 p1, P2 p2, P3 p3)

Protected Member Functions

 ScopeGuardImpl3 (F fun, P1 p1, P2 p2, P3 p3)

Protected Attributes

fun_
const P1 p1_
const P2 p2_
const P3 p3_

Detailed Description

template<typename F, typename P1, typename P2, typename P3>
class Loki::ScopeGuardImpl3< F, P1, P2, P3 >

Implementation class for a standalone function or class static function with three 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 a single standalone helper function, MakeGuard which creates and returns a ScopeGuard.

Definition at line 252 of file ScopeGuard.h.


The documentation for this class was generated from the following file:
Generated on Sun Feb 25 16:52:45 2007 for Loki by  doxygen 1.5.1-p1