摘要:
C++ users are advised frequently not to use dynamic_cast, because it's slow. I thought it would be nice to measure this, so I made up a test on Visual C++. All you need is a simple hierarchy of types with a baseclass, a derived class, and another class derived from that. The test is this: if you 阅读全文
posted @ 2010-03-08 13:05
做个不善的人
阅读(385)
评论(0)
推荐(0)
浙公网安备 33010602011771号