try { f(); } catch(erreurMath e) { cout << e._type; } catch (erreur) { } void f() { throw erreurMath(toto); }
void f() { throw erreurMath(toto); }