Compiler Error C3363

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Compiler Error C3363.

type' : 'typeid' can only be applied to a type

The typeid operator was used incorrectly.

The following sample generates C3363.

// C3363.cpp  
// compile with: /clr  
int main() {  
   System::typeid;   // C3363  
}  

Show: