jeudi 26 février 2015

How to make sure that the destructor cannot throw an exception?


I know that we can specify the compiler that a function is not throwing an exception by using noexcept specifier but noxecept functions can still throw exceptions . So, how to prevent destructor from throwing an exception ?





Aucun commentaire:

Enregistrer un commentaire