Compiler Error C3183
cannot define unnamed class, struct or union inside of managed or WinRT type 'type'
A type that is embedded in a managed or WinRT type must be named.
The following sample generates C3183:
// C3183a.cpp
// compile with: /clr /c
ref class Test
{
ref class
{ // C3183, delete class or name it
int a;
int b;
};
};
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