Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Compiler Error C2793

'token' : unexpected token following '::', identifier or keyword 'operator' expected

The only tokens that can follow __super:: are an identifier or the keyword operator.

The following sample generates C2793

// C2793.cpp
struct B {
   void mf();
};

struct D : B {
   void mf() {
      __super::(); // C2793
   }
};

Community Additions

ADD
Show:
© 2015 Microsoft