Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!stiatl!srchtec!johnb From: johnb@srchtec.UUCP (John Baldwin) Newsgroups: comp.lang.c++ Subject: Re: inheritance and `type loss' Message-ID: <130@srchtec.UUCP> Date: 18 Jul 90 16:30:47 GMT References: <1130013@gore.com> <55845@microsoft.UUCP> Organization: search technology, inc. Lines: 20 In article <55845@microsoft.UUCP> bobatk@microsoft.UUCP (Bob ATKINSON) writes: > >It strikes me that the typeof() operator might be generally useful >in other situations as well. Definitely! I can think of a lot of places where I've wanted typeof(), and its even more desirable in ANSI C (so you can write "smart" macros). In fact, in one of his recent articles about the ANSI C standardization process, P. J. Plauger wrote saying that typeof() was one of the things he really wished had been implemented. [Quick! Somebody run that sentence through a grammar corrector!] :-) Maybe the user community can "encourage" the ANSI C++ committee to consider adding typeof() to the language. -- John T. Baldwin | The opinions expressed herein are available research analyst | for the small price of $5. search technology, inc. | Operators are online 24 hours a day; call johnb@srchtec.uucp | 1-800-366-2277 (1-800-FOO-BARR).