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() [1/2]
RWScopeGuardImp::RWScopeGuardImp |
( |
| ) |
|
|
inlineprotected |
◆ RWScopeGuardImp() [2/2]
Copy constructor. Transfers responsibility for invoking the associated action to self, and dismisses other.
◆ dismiss()
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.
◆ operator=()
Assignment operator. Assignment for this type is prohibited.