Compiler Error C2433
'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
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for