“specifier”:未知重写说明符
备注
编译器在其预期要查找替代说明符的位置找到了令牌,但编译器无法识别该令牌。
例如,如果未识别的 specifier 是 _NOEXCEPT,请将它替换为关键字 noexcept。
有关详细信息,请参阅重写说明符。
示例
以下示例生成 C3646,并演示了修复它的方法:
// C3646.cpp
// compile with: /clr /c
ref class C {
void f() unknown; // C3646
// try the following line instead
// virtual void f() abstract;
};