|
Orxonox
0.0.5 Codename: Arcturus
|
Utility class that helps to create a special kind of destructor that also executes if the destruction fails. More...
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/util/DestructionHelper.h>
Public Member Functions | |
| DestructionHelper (T *object) | |
| ~DestructionHelper () | |
Private Member Functions | |
| DestructionHelper (const DestructionHelper &)=delete | |
| DestructionHelper & | operator= (const DestructionHelper &)=delete |
Private Attributes | |
| T * | object_ |
Utility class that helps to create a special kind of destructor that also executes if the destruction fails.
This helps a lot to improve exception handling.
Example:
|
inline |
|
inline |
|
privatedelete |
|
privatedelete |
|
private |
1.8.11