Newsgroups: comp.lang.c++ Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: Any interest in making C++ a real superset of ANSI C? Message-ID: <1989May28.212614.26146@utzoo.uucp> Organization: U of Toronto Zoology References: <7435@hoptoad.uucp> <1997@dataio.Data-IO.COM> Date: Sun, 28 May 89 21:26:14 GMT In article <1997@dataio.Data-IO.COM> bright@dataio.Data-IO.COM (Walter Bright) writes: >The solution is to retain the separate tag name space for structs and >unions, but use the regular name space for class names.... This has always struck me as the obvious solution, but there will undoubtedly be occasional C++ programs that break if such a change is made. (There is no feature so stupid that you won't find it in at least one program within six months of its release.) >I'm also of the opinion that if you use C++ features in an aggregate, it >should be called a 'class'. If it only uses C features, it should be called >'struct'. I'd even support having the compiler enforce this. Sounds good to me; in fact, on thinking about it, I'd quietly assumed that this was the case already. -- Van Allen, adj: pertaining to | Henry Spencer at U of Toronto Zoology deadly hazards to spaceflight. | uunet!attcan!utzoo!henry henry@zoo.toronto.edu