Path: utzoo!attcan!uunet!mcvax!ukc!dcl-cs!aber-cs!pcg From: pcg@aber-cs.UUCP (Piercarlo Grandi) Newsgroups: comp.lang.c++ Subject: Re: Any interest in making C++ a real superset of ANSI C? Summary: Ugh! Message-ID: <973@aber-cs.UUCP> Date: 28 May 89 12:06:12 GMT Reply-To: pcg@cs.aber.ac.uk (Piercarlo Grandi) Organization: Dept of CS, UCW Aberystwyth (Disclaimer: my statements are purely personal) Lines: 20 In article <7435@hoptoad.uucp> gnu@hoptoad.uucp (John Gilmore) writes: I think C++ would be a lot better language if it was a superset of ANSI C. Ugh! Do you really want to change the meaning of "const" to the regrettable one it has in Ansi C? Let me say that often, in updating C, BS has been more considerate than Ansi C (note that as BS says, C++ = C+extensions+classes, where the extensions are things like const, inline, etc...). But the gross change that makes "struct foo {...};" equivalent to "typedef struct foo {...} foo;" is too much to bear. Is everyone writing C++ code that depends on this behaviour? Apparently everybody is. Have you ever seen "class complex c0,c1"? :-). -- Piercarlo "Peter" Grandi | ARPA: pcg%cs.aber.ac.uk@nsfnet-relay.ac.uk Dept of CS, UCW Aberystwyth | UUCP: ...!mcvax!ukc!aber-cs!pcg Penglais, Aberystwyth SY23 3BZ, UK | INET: pcg@cs.aber.ac.uk