Partilhar via


Erro do compilador C2792

«super» : esta palavra-chave deve ser seguida de «::»

Observações

O único token que pode seguir a palavra-chave __super é ::.

Example

O exemplo a seguir gera C2792:

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

struct D : B {
   void mf() {
      __super.();   // C2792

      // try the following line instead
      // __super::mf();
   }
};