Class XallocInitDestroy
Defined in File xallocator.h
Page Contents
Class Documentation
-
class XallocInitDestroy
If a C++ translation unit, create a static instance of XallocInitDestroy, any C++ file including xallocator.h will have the xallocDestroy instance declared first within the translation unit and thus will be constructed first. Destruction will occur in the reverse order so xallocInitDestroy is called last. This way, any static user objects relying on xallocator will be destroyed first before xalloc_destroy() is called.