home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.c++:11777 comp.std.c++:994
- Newsgroups: comp.lang.c++,comp.std.c++
- Path: sparky!uunet!mcsun!Germany.EU.net!news.netmbx.de!netmbx!jrobie
- From: jrobie@netmbx.netmbx.de (Jonathan Robie)
- Subject: Re: Language extensions for run-time type identification
- Organization: netmbx, Berlin, Germany
- Date: Thu, 30 Jul 1992 07:47:54 GMT
- Message-ID: <2XK58WG@netmbx.netmbx.de>
- References: <BryFLI.Hz2@world.std.com> <1992Jul29.192054.22533@cadsun.corp.mot.com>
- Lines: 56
-
- shang@corp.mot.com (David (Lujun) Shang) writes:
-
- >In article <BryFLI.Hz2@world.std.com> wmm@world.std.com (William M Miller)
- >writes:
- >function.
-
- >> The challenge, then, for those who view RTTI-via-vtable as
- >> insufficient is to provide *concrete* counterexamples to this
- >> assumption: applications where derived-to-base casting does occur
- >> without the need for virtual functions and for which RTTI would
- >> nevertheless be useful. Are there such applications?
- >>
-
- The assumption here is that RTTI should be provided only as a means
- of safe downcasting within domestic systems. That is obviously nice,
- but does nothing to help implement a variety of general purpose tools
- which need more information.
-
- >
- >And I'm sure many OO database and OS people can tell more.
-
- Well, the biggest problem for OO databases is that the current RTTI
- proposal does not give us enough info even for classes *with* virtual
- tables.
-
- A less serious problem: it seems silly to force our users to add
- virtual methods in order to store a class in the database.
-
- So far I don't think the current RTTI proposal will affect us at all.
- We will continue to use our precompiler. I would like to see a better
- proposal which would allow us to throw our precompiler away.
-
- >Since OO technique is aimed mainly to developing large, complex and
- >cooperative systems, C++, as general purposed OO language, should at least
- >cover some main application areas.
-
- Absolutely! The general purpose tools which fit so well into the C++
- programming environment are precisely those which need RTTI.
-
-
- Jonathan
-
- ===========================================================================
-
- Jonathan Robie jrobie@netmbx.UUCP
- Arnold-Zweig-Str. 44 jrobie@netmbx.in-berlin.de
- O-1100 Berlin
- Deutschland Phone: +37 (2) 472 04 19 (Home, East Berlin)
- +49 (30) 342 30 66 (Work, West Berlin)
-
-
- --
- Jonathan
-
- ===========================================================================
-
-