A concrete class for cleanup jobs that take a function with one argument. More...
#include <util.h>
Public Member Functions | |
| ~guardImpl1 () | |
| Destructor calls the cleanup function of the base class. | |
Static Public Member Functions | |
| static guardImpl1< F, A > | makeGuard (F f, A a) |
Protected Member Functions | |
| void | execute () |
| guardImpl1 (F f, A a) | |
| Construct a guard object from a function. | |
Friends | |
| class | guardBase |
A concrete class for cleanup jobs that take a function with one argument.
|
| |