www.digitalmars.com         C & C++   DMDScript  

D - nameless structs in classes

reply "Pavel Minayev" <evilone omen.ru> writes:
Is subj allowed? Alpha 4 compiles the following without errors:

    class Test { struct { int a, b, c } }

However, if I try to access members, it says they are not found...
Dec 21 2001
parent "Walter" <walter digitalmars.com> writes:
Nameless ones should be allowed. -Walter

"Pavel Minayev" <evilone omen.ru> wrote in message
news:a003mu$1lkj$1 digitaldaemon.com...
 Is subj allowed? Alpha 4 compiles the following without errors:

     class Test { struct { int a, b, c } }

 However, if I try to access members, it says they are not found...
Dec 21 2001