Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Error C2611
Collapse the table of content
Expand the table of content

Compiler Error C2611

'token' : illegal following '~' (expected identifier)

The token is not an identifier.

The following sample generates C2611:

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