This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Unnamed unions
- To: "Timothy J. Wood" <tjw at omnigroup dot com>
- Subject: Re: Unnamed unions
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 16 Feb 2001 23:26:34 -0200
- Cc: gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <200102162312.PAA10579@scyther.omnigroup.com>
On Feb 16, 2001, "Timothy J. Wood" <tjw@omnigroup.com> wrote:
> That is, any union that has no name is treated like all the
> elements are in the name space of the enclosing struct.
Yep. Exactly as described in the ISO C++ Standard :-)
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me