c++ exception 一问# Programming - 葵花宝典
yy
1 楼
suppose I have a statement like:
throw;
(throw without a type exception)
Can I know what is the default exception for c++?
It seems to me: if there is no outer layer exception, statement
throw ;
will return a notype exception and cause Abort anyway even if
I use
catch (...)
Any idea, thanks,
throw;
(throw without a type exception)
Can I know what is the default exception for c++?
It seems to me: if there is no outer layer exception, statement
throw ;
will return a notype exception and cause Abort anyway even if
I use
catch (...)
Any idea, thanks,