Wednesday 10 April 2013

Question: What happens when a function throws an exception that was not specified by an exception specification for this function?


Question: What happens when a function throws an exception that was not specified by an exception specification for this function?

 Answer: Unexpected() is called, which, by default, will eventually trigger abort().

No comments:

Post a Comment