摘要: The access rules (clause 11) for a virtual function are determined by its declaration and are not affected by the rules for a function that later overrides it.当一个子类函数通过基类的指针调用时,访问权限取决于基类对该函数的声明。 阅读全文
posted @ 2013-04-28 14:51 aswater 阅读(217) 评论(0) 推荐(0)