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?
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?