What is the technical reason why it is considered bad practice to use the C++ throw
keyword in a function signature?
bool some_func() throw(myExc)
{
...
if (problem_occurred)
{
throw myExc("problem occurred");
}
...
}
What is the technical reason why it is considered bad practice to use the C++ throw
keyword in a function signature?
bool some_func() throw(myExc)
{
...
if (problem_occurred)
{
throw myExc("problem occurred");
}
...
}