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