Compiler Error C2611 (Windows CE 5.0)
'token' : illegal following '~' (expected identifier)
The token is not an identifier.
The following example shows ways this error might occur.
class C
{
C::~operator int(); // error
~C(); // OK, destructor declaration
};
Send Feedback on this topic to the authors