Throwing or catching an exception affects the way a function relates to other functions. It can therefore be worthwhile to specify the set of exceptions that might be thrown as part of the function declaration.
Exception Handling(Chapter 14 of The C++ Programming Language)
转载 As for functions, the ellipsis ... indicates ‘‘any argument’’, so catch(...) means ‘‘catch any exception.’’
本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
上一篇:Class Hierarchies(Chapter 15 of The C++ Programming Language)
下一篇:HDU1319 POJ1595 UVA406 UVALive5490 ZOJ1312 Prime Cuts【素数筛选+打表】
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
51c视觉~合集14视觉