examples/intro1.cpp
std::string handle_user_ex(user_exception&)
{
 std::cout << "* caught user_exception; rewriting output" << '\n';

 return "I decided to return a valid result!";
}
// Handle a user_exception, produce some output:
Handle a user_exception, produce some output.
Handle a user_exception produce some output .
std::string handle_user_ex(user_exception&)
{
 std::cout << "* caught user_exception; rewriting output" << '\n';
 return "I decided to return a valid result!";
}
std :: string handle_user_ex ( user_exception & ) { std :: cout << " " << ' \n ' ; return " " ; }
Handle a user_exception, produce some output:
Handle a user_exception produce some output :