Unnamed unions

Alexandre Oliva aoliva@redhat.com
Fri Feb 16 17:26:00 GMT 2001


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



More information about the Gcc mailing list