烈火豪情
maxxfire
全部博文(8)
2010年(4)
2009年(4)
cynthia
lvchao04
a_jige
分类: C/C++
2010-12-06 11:17:03
class B1 { public: virtual void foo1(void) { } protected: int m_b1; }; class B2 { public: virtual void foo2(void) { } protected: int m_b2; }; class D : public B1, public B2 { public: virtual void foo3(void) { } protected: int m_b3; }; D d; D* src = &d; B2* dst = static_cast<B2*>(src);
上一篇:[转]Mounting a hard disk image including partitions
下一篇:没有了
登录 注册