Base class for derived RWScopeGuardImp classes.
More...
#include <rw/tools/scopeguard.h>
Base class for derived RWScopeGuardImp classes. This class should not be used directly; rather, use the typedef RWScopeGuard and the rwtMakeScopeGuardG() or rwtMakeScopeGuardM() convenience functions.
- See also
- RWScopeGuard
RWScopeGuardImp::RWScopeGuardImp |
( |
| ) |
|
|
inlineprotected |
Copy constructor. Transfers responsibility for invoking the associated action to self, and dismisses other.
void RWScopeGuardImp::dismiss |
( |
| ) |
const |
|
inline |
Dismisses the action associated with this RWScopeGuardImp instance, so that the action does not execute at the end of the current scope.
Assignment operator. Assignment for this type is prohibited.