摘要:#include using namespace std;class A{public: void foo() { func(); } virtual void func() { coutfoo();}运行结果是"b".我就当做是func()为this->func()了.源头是cocos2dx的CCObject的copy()和copyWithZone().
阅读全文
posted @ 2013-07-31 17:50
posted @ 2013-07-31 17:50
posted @ 2013-07-30 13:52