编译器错误 C2611

“token”:'~' 之后为非法 (预期标识符)

令牌不是标识符。

下面的示例生成 C2611:

// C2611.cpp
// compile with: /c
class C {
   C::~operator int();   // C2611
   ~C();   // OK
};