Is there a way to either suppress the generation of destructors for global objects (in particular those of collection types such as vector and unordered_map), or to exit a program without calling such destructors (but still flushing stdout, as I gather abort does not do)?
Is there a way to either suppress the generation of destructors for global objects
Share
I believe you’re looking for quick_exit and _Exit.