SyntaxFix
Write A Post
Hire A Developer
Questions
If you give the struct no name it will work
class E { public: struct { int v; }; };
Otherwise write X x and write e.x.v