Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpda!hpcuhc!hpcupt3!mnm From: mnm@hpcupt3.cup.hp.com (Michey Mehta) Newsgroups: comp.lang.c++ Subject: Re: Adding multiple inheritance to a single inheritance class library. Message-ID: <45680011@hpcupt3.cup.hp.com> Date: 17 Jun 91 21:19:23 GMT References: <10971@castle.ed.ac.uk> Organization: Hewlett Packard, Cupertino Lines: 12 > More object-oriented languages than C++ (Simula, Eiffel, ...) typically > enforce run-time checking of such casts to make them safe; in C++ such > checking is not even possible. It was a deliberate (and in my opinion > unfortunate) desing decision in C++ that all objects do not carry > sufficient type information like they do in those others languages. All is not lost. The ANSI C++ committee is currently considering various mechanism for enforcing type safe casts, and it is quite likely that such a feature will be added to the language. Michey Mehta Hewlett-Packard Computer Language Lab