Compiler Error C2633
Collapse the table of content
Expand the table of content

Compiler Error C2633


'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
© 2015 Microsoft