Qual è la ragione tecnica per cui è considerata una cattiva pratica usare la throwparola chiave C ++ nella firma di una funzione?
bool some_func() throw(myExc)
{
...
if (problem_occurred)
{
throw myExc("problem occurred");
}
...
}
noexceptcambiare qualcosa?