pttman
Muster
屬於你的大爆卦
pttman
Muster
屬於你的大爆卦
pttman
Muster
屬於你的大爆卦
Ptt 大爆卦
Dynamic_cast
離開本站
你即將離開本站
並前往
https://www.zhihu.com/question/22445339
为什么说不要使用dynamic_cast,需要运行时确定类型信息 - 知乎
没有说一定不能用,而是需要在恰当的场合使用恰当的特性。比如:能在编译时解决掉的问题没必要留到运行时、能用多态搞定的事情也没必要使用dynamic_cast 和typeid 等。
確定!
回上一頁
查詢
「Dynamic_cast」
的人也找了:
//=$keyword?>
dynamic_cast c++用法
Static_cast
static_cast是什麼
Reinterpret_cast
C++ dynamic_cast static_cast 差異
Static_cast, dynamic_cast
Dynamic_cast void
c++ dynamic_caststatic_cast差異