Compiler Error C2633


For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

'identifier' : 'inline' is the only legal storage class for constructors

A constructor is declared as a storage class other than inline.

The following sample generates C2633:

// C2633.cpp  
// compile with: /c  
class C {  
   extern C();   // C2633, not inline  
   inline C();   // OK