Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 578 Bytes

compiler-error-c2793.md

File metadata and controls

28 lines (23 loc) · 578 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C2793
Compiler Error C2793
11/04/2016
C2793
C2793
ce35f4e8-c357-40ca-95c4-15ff001ad69d

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
   }
};