December 21, 2001 nameless structs in classes | ||||
---|---|---|---|---|
| ||||
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... |
December 21, 2001 Re: nameless structs in classes | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pavel Minayev | 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... > > |
Copyright © 1999-2021 by the D Language Foundation