void FooThrow() throw(string, string)
{
}
I have compiled the above code in g++ 4.4.3 without any errors.
However, I am not sure whether or not this is a legal syntax based on the standard.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In C++03, 15.4.6:
The standard always speaks of the set of types in an exception specification, surely that’s deliberate.
I would be negligent to omit pointing out Herb Sutter’s article, which is best summarized as,