home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!mole-end!mat
- From: mat@uunet.uu.net!mole-end
- Subject: Re: Covariant Types in Derived Classes
- Message-ID: <1992Jul26.025756.6408@uunet.uu.net!mole-end>
- Summary: Extended Type Info, NOT RTTI
- Organization: :
- References: <VKE52M@netmbx.netmbx.de> <712030928snx@trmphrst.demon.co.uk>
- Date: Sun, 26 Jul 1992 02:57:56 GMT
- Lines: 27
-
- In article <712030928snx@trmphrst.demon.co.uk>, nikki@trmphrst.demon.co.uk (Nikki Locke) writes:
-
- > In article <VKE52M@netmbx.netmbx.de> jrobie@netmbx.netmbx.de (Jonathan Robie) writes:
-
- > > maxtal@extro.ucc.su.OZ.AU (John MAX Skaller) writes:
-
- >>>>If I want a generic print function that can handle all types as though they
- >>>>were basic types, then this print function must know the location and type
- >>>>of each member, and also the name if the function is to be particularly
- >>>>useful.
-
- >>> Such a utility function would be useful for debugging only.
- >>>Yes, to do it you would need RTTI.
- >>
- >> Not so. A report generator might start by showing me the default
- >> printout for an object. I can grab fields with my mouse and move
- >> them around or delete them.
-
- RTTI doesn't provide enough information for this; a second facility that
- may or may not happen, called Extended Type Information, will be needed.
- ETI is very desirable to support persistance, OODBMs, Remote Object Dispatch,
- etc. Whether it can be done at acceptible cost has yet to be determined.
- --
- (This man's opinions are his own.)
- From mole-end Mark Terribile
-
- uunet!mole-end!mat, Somewhere in Matawan, NJ
-