tem*_*boy 0 c++ exception
有时在代码中我看到抛出异常,其中使用了throw关键字而旁边没有表达式:
throw
throw;
它是什么意思,什么时候应该使用它?
Yu *_*Hao 5
空throw重新抛出异常.
它只能出现在a catch或从a调用的函数中catch.
catch
如果throw处理程序未处于活动状态时遇到空,terminate则将调用.
terminate
归档时间:
12 年,8 月 前
查看次数:
625 次
最近记录: