今天遇到一个dynamic_cast crash的问题.
原来dynamic_cast是会throw exception的,
那么如果编译选项里面禁掉了exception,就会造成dynamic_cast这种会throw exception的函数没法运行进而crash
原文链接: http://blog.csdn.net/ccanan/article/details/1613111
今天遇到一个dynamic_cast crash的问题.
原来dynamic_cast是会throw exception的,
那么如果编译选项里面禁掉了exception,就会造成dynamic_cast这种会throw exception的函数没法运行进而crash
转载于:https://my.oschina.net/dtec/blog/44530