www.digitalmars.com         C & C++   DMDScript  

D - anonymous struct/union?

reply "Sean L. Palmer" <spalmer iname.com> writes:
Question for Walter:

Is D going to have anonymous structs/unions?

Sean
Jan 27 2002
parent reply "Walter" <walter digitalmars.com> writes:
"Sean L. Palmer" <spalmer iname.com> wrote in message
news:a32mv2$r4$1 digitaldaemon.com...
 Question for Walter:

 Is D going to have anonymous structs/unions?

 Sean

It already does!
Jan 28 2002
parent reply "Sean L. Palmer" <spalmer iname.com> writes:
Just curious... it doesn't mention it on the website in the struct/union
section.  ;)

Sean

"Walter" <walter digitalmars.com> wrote in message
news:a336ts$e5q$2 digitaldaemon.com...
 "Sean L. Palmer" <spalmer iname.com> wrote in message
 news:a32mv2$r4$1 digitaldaemon.com...
 Question for Walter:

 Is D going to have anonymous structs/unions?

 Sean

It already does!

Jan 28 2002
parent reply "Mike Wynn" <mike.wynn l8night.co.uk> writes:
goto the home page, click in declarations in the left menu, and just after
the explaination of types
theres a section on struct/unions, and in the bullet list you will find ...

"anonymous structs/unions are allowed as members of other structs/unions "

Mike.

"Sean L. Palmer" <spalmer iname.com> wrote in message
news:a3389f$f1l$1 digitaldaemon.com...
 Just curious... it doesn't mention it on the website in the struct/union
 section.  ;)

 Sean

 "Walter" <walter digitalmars.com> wrote in message
 news:a336ts$e5q$2 digitaldaemon.com...
 "Sean L. Palmer" <spalmer iname.com> wrote in message
 news:a32mv2$r4$1 digitaldaemon.com...
 Question for Walter:

 Is D going to have anonymous structs/unions?

 Sean

It already does!


Jan 28 2002
parent "Sean L. Palmer" <spalmer iname.com> writes:
Doh, I'm blind.  ;)  I was looking right there and missed it.

Sean

"Mike Wynn" <mike.wynn l8night.co.uk> wrote in message
news:a33d0f$i5p$1 digitaldaemon.com...
 goto the home page, click in declarations in the left menu, and just after
 the explaination of types
 theres a section on struct/unions, and in the bullet list you will find

 "anonymous structs/unions are allowed as members of other structs/unions "

 Mike.

 "Sean L. Palmer" <spalmer iname.com> wrote in message
 news:a3389f$f1l$1 digitaldaemon.com...
 Just curious... it doesn't mention it on the website in the struct/union
 section.  ;)

 Sean

 "Walter" <walter digitalmars.com> wrote in message
 news:a336ts$e5q$2 digitaldaemon.com...
 "Sean L. Palmer" <spalmer iname.com> wrote in message
 news:a32mv2$r4$1 digitaldaemon.com...
 Question for Walter:

 Is D going to have anonymous structs/unions?

 Sean

It already does!



Jan 28 2002