In the try catch block is it bad to return inside the catch? which is good practice

Viewed 25568

In the try catch block is it bad practice to return values from the catch block in C++?

try
{
    //Some code...
    return 1;
}
catch(...)
{
    return 0;
}

Which method of using try/catch is good practice?

4 Answers
Related