Export (0) Print
Expand All
Expand Minimize

Compiler Error C2792

'super' : this keyword must be followed by '::'

The only token that can follow the keyword super is ::.

The following code sample shows one way this error could be generated:

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

struct D : B {
   void mf() {
      __super.(); // C2792
   }
};
Show:
© 2014 Microsoft