Compiler Error C3923
'member' : local class, struct, or union definitions are not allowed in a member function of a WinRT or managed class
Example
The following sample generates C3923.
// C3923.cpp
// compile with: /clr /c
ref struct x {
void Test() {
struct a {}; // C3923
class b {}; // C3923
union c {}; // C3923
}
};
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