此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
注意
访问此页面需要授权。 可以尝试登录或更改目录。
访问此页面需要授权。 可以尝试更改目录。
“super”:该关键字的后面必须跟“::”
可以跟随关键字 __super 的唯一令牌是 ::。
__super
::
以下示例生成 C2792:
// C2792.cpp struct B { void mf(); }; struct D : B { void mf() { __super.(); // C2792 // try the following line instead // __super::mf(); } };
此页面是否有帮助?
需要有关本主题的帮助?
想要尝试使用 Ask Learn 阐明或指导你完成本主题?