I am developing c++ application and I am stucked on the signal handling problem with c++11. I want to call destructor's for all objects(created on stack as well as on heap) created under my main application on arrival of SIGINT signal.
Please suggest sophisticated solution here. Appriciate for you time.
Thanks and Regards, Ojas
Aucun commentaire:
Enregistrer un commentaire