Loki::ScopeGuardImpl0< F > Class Template Reference
[Exception-safe code]

#include <src/util/ScopeGuard.h>

Inheritance diagram for Loki::ScopeGuardImpl0< F >:

Loki::ScopeGuardImplBase

List of all members.

Public Member Functions

void Execute ()
 ~ScopeGuardImpl0 () throw ()

Static Public Member Functions

static ScopeGuardImpl0< F > MakeGuard (F fun)

Protected Member Functions

 ScopeGuardImpl0 (F fun)

Protected Attributes

fun_


Detailed Description

template<typename F>
class Loki::ScopeGuardImpl0< F >

Implementation class for a standalone function or class static function with no parameters. 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.


Constructor & Destructor Documentation

template<typename F>
Loki::ScopeGuardImpl0< F >::~ScopeGuardImpl0 (  )  throw () [inline]

template<typename F>
Loki::ScopeGuardImpl0< F >::ScopeGuardImpl0 ( fun  )  [inline, protected]


Member Function Documentation

template<typename F>
void Loki::ScopeGuardImpl0< F >::Execute (  )  [inline]

template<typename F>
static ScopeGuardImpl0<F> Loki::ScopeGuardImpl0< F >::MakeGuard ( fun  )  [inline, static]


Member Data Documentation

template<typename F>
F Loki::ScopeGuardImpl0< F >::fun_ [protected]


The documentation for this class was generated from the following file:

Generated on Tue Jul 28 16:22:16 2009 for Orxonox by  doxygen 1.5.6