Export (0) Print
Expand All
Expand Minimize

Compiler Error C2433

Error Message

'identifier' : 'modifier' not permitted on data declarations

The friend, virtual, and inline modifiers cannot be used for data declarations.

Example

The following sample generates C2433.

// C2433.cpp
class C{};

int main() {
   inline C c;   // C2433
}

Community Additions

ADD
Show:
© 2014 Microsoft