To execute only once GENERIC_DESTRUCTOR::HouseKeeping et the end of process, a dedicated object is created, as a singleton: atExitSingleton. More...
Public Member Functions | |
atExitSingleton (bool Make_ATEXIT) | |
~atExitSingleton () | |
To execute only once GENERIC_DESTRUCTOR::HouseKeeping et the end of process, a dedicated object is created, as a singleton: atExitSingleton.
When the singleton is created, the HouseKeeping() function is registered in atExit(). Destructors is a list created on heap, and deleted by HouseKeeping(), with the list content.
atExitSingleton::atExitSingleton | ( | bool | Make_ATEXIT | ) |
References atExitSingletonDone, DEVTRACE, and HouseKeeping().
atExitSingleton::~atExitSingleton | ( | ) |
References DEVTRACE.