As far as I know C9X will include anonymous unions.
Sorry, this is contradictory to what Mike has just said! I heard this
fact some time ago on this group, so I can't say for definite (i.e. I dont
have the standard in front of me) but this is what I have seen / heard.
James.
--
Please remove "NOSPAM" from the front of my mail address.
Quote:
>Greetings, all.
>Does anyone know if the new C9X permits anonymous unions, as C++ does?
>I did a "grep anonymous" on and a quick skim through my draft copy but
>it didn't turn up anything... either my copy is out of date, anonymous
>unions in C++ aren't called anonymous unions in C9X, or they're simply
>not supported.
>(In case you all don't have a clue what I'm talking about, an anonymous
>union does not have a type name and may not be instantiated. Declaring
>such a union tells the compiler that its members will share the same
>memory; however, its members ostensibly act like regular variables and
>are accessed directly rather than via dot operator qualification.)
>Regards,
>Psy
>http://www.nothingisreal.com
>* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network
*
>The fastest and easiest way to search and participate in Usenet - Free!