Topic: casting and multiple inheritance


Author: Robert Fyfe <rob@cs.jcu.edu.au>
Date: 1997/10/02
Raw View
i am just wondering if anyone knows the dates that multiple inheritance
and the 4 casting operations (i.e static cast, rienterpret cast...etc)
were added to the c++ language.

thanks,....
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]





Author: stephen.clamage_nospam@eng.sun.com (Steve Clamage)
Date: 1997/10/02
Raw View
On 02 Oct 97 05:58:29 GMT, Robert Fyfe <rob@cs.jcu.edu.au> wrote:

>i am just wondering if anyone knows the dates that multiple inheritance
>and the 4 casting operations (i.e static cast, rienterpret cast...etc)
>were added to the c++ language.

Since there is as yet no official standard for the C++ language, the
technically correct (but unhelpful) answer for both questions is "Not
yet". I'll try to be more helpful than that.

In the early days of C++, the Cfront compiler originally from AT&T
Bell Labs was a de facto standard of sorts. Release 2.0 of Cfront in
approximately 1989 added multiple inheritance, which was not part of
any publicly-available C++ compiler prior to that time. The first
addition of "The C++ Progamming Language" (C++PL) published in 1986
provided only single inheritance. The first printing of the ARM in
1990 described multiple inheritance as part of the language. I would
pick 1989 as the date.

By the time the new cast operators were proposed for C++, there was no
longer any one compiler that could be considered a de facto standard.
I would say the first public description of the new cast operators was
the publication of the first C++ Committee Draft, issued for public
comment in April 1995. At that time, no publicly available compiler
implemented the new cast operators, so far as I know. You could do
worse than consider 1995 as the date.

---
Steve Clamage, stephen.clamage_nospam@eng.sun.com
( Note: remove "_nospam" when replying )
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]