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

#include <ScopeGuard.h>

Inheritance diagram for Loki::ScopeGuardImpl0< F >:

[legend]
Collaboration diagram for Loki::ScopeGuardImpl0< F >:
[legend]
List of all members.

Public Member Functions

 ~ScopeGuardImpl0 () throw ()
void Execute ()

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.

Definition at line 108 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