Compiler Error C2611 (Windows CE 5.0)

Send Feedback

'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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.