__super
来源:互联网 发布:国家大数据项目 编辑:程序博客网 时间:2024/06/05 04:06
// deriv_super.cpp
// compile with: /c
struct B1 {
void mf(int) {}
};
struct B2 {
void mf(short) {}
void mf(char) {}
};
struct D : B1, B2 {
void mf(short) {
__super::mf(1); // Calls B1::mf(int)
__super::mf('s'); // Calls B2::mf(char)
}
};
// compile with: /c
struct B1 {
void mf(int) {}
};
struct B2 {
void mf(short) {}
void mf(char) {}
};
struct D : B1, B2 {
void mf(short) {
__super::mf(1); // Calls B1::mf(int)
__super::mf('s'); // Calls B2::mf(char)
}
};
0 0
- __super
- __super
- __super
- __super
- __super
- C++ __super
- __super 关键字
- VC2005代码关键字__super
- __super in MFC
- __super in MFC
- __super的作用
- VC中的__super关键字
- vc中__super的用法
- 51.VC(Custom)-__super简介
- 51.VC(Custom)-__super简介
- VC 编译器的C++关键字 __super
- __super关键词 显式调用基类虚函数
- JS 将数字类型转化为没3个一个逗号的金钱格式
- LaTeX新人教程,30分钟从完全陌生到基本入门
- 客户端的web技术
- 接口的显示实现,隐式实现区别
- 黑马程序员----简单的多线程聊天框的编写
- __super
- maven pom文件详解
- 开源网站
- 总结2012和2013,展望2014
- 【RAC】cssfatal缺少导致的节点1无法启动
- B/S和C/S
- PHP系统类函数
- 使用share SDK实现腾讯微博授权登录分享(1.x版本)
- H7N9不排除人传人