#include <CNoDelete.h>
Inheritance diagram for CNoDelete:
Public Member Functions | |
INLINE void | activate () |
activate this. | |
INLINE void | deActivate () |
activate this. | |
INLINE | CNoDelete () |
activate this. | |
INLINE | ~CNoDelete () |
activate this. | |
Protected Attributes | |
bool | mIsActivated |
is this activated |
If an instantiation of this class is activated, it will bomb in the moment when the destructor is called.
: Wolfgang Müller
|
activate this. This means: destruction of *this will be possible |
|
activate this. This means: destruction of this will bomb the program using a zero assertion |
|
activate this. This means: destruction of this will bomb the program using an assertion of !mIsActivated |
|
activate this. This means: destruction of *this will bomb the program using a zero assertion |