This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: TODO: egcs-g++
On Apr 11, 1999, Andi Kleen <ak@muc.de> wrote:
> Another use would be "poor man's inheritance" in C:
> struct node {
> struct node *prev, *next;
> };
> struct bla {
> struct node;
> int val;
> };
Ok, this could be valid extended C, but it already has a different
meaning in C++: it declares a nested class bla::node.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva IC-Unicamp, Brasil
{oliva,Alexandre.Oliva}@dcc.unicamp.br aoliva@{acm.org,computer.org}
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
*** E-mail about software projects will be forwarded to mailing lists