A concrete class for cleanup jobs that take a function with two arguments. More...
#include <util.h>
Public Member Functions | |
~guardImpl2 () | |
Destructor calls the cleanup function of the base class. | |
Static Public Member Functions | |
static guardImpl2< F, A1, A2 > | makeGuard (F f, A1 a1, A2 a2) |
Protected Member Functions | |
void | execute () |
guardImpl2 (F f, A1 a1, A2 a2) | |
Construct a guard object from a function. | |
Friends | |
class | guardBase |
A concrete class for cleanup jobs that take a function with two arguments.
![]() |