description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Error C3923 |
Compiler Error C3923 |
11/04/2016 |
|
|
db8838e9-6344-4cd6-83e0-a8abeb12c4c0 |
'member' : local class, struct, or union definitions are not allowed in a member function of a WinRT or managed class
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
}
};