Topic: when to use inheritance, and future C++
Author: "Looc Trigan" <loic.tregan@isdnet.net>
Date: 1997/07/20 Raw View
[Moderator's note: the following is only barely on-topic for
comp.std.c++. Please try to keep followups on-topic, or
take the discussion elsewhere, e.g. comp.object. -moderator (fjh).]
When to use inheritance ?
Inheritance as a knowledge representation model
Does a radar-plane inherits from a plane or from a radar ?
This relation depends of the point of view :
? for a pilot, the radar-plane is a kind of plane
? for a radar-specialist, the radar-plane is a kind of radar
Author: "loic tregan" <loic.tregan@hol.fr>
Date: 1997/07/21 Raw View
Looc Trigan <loic.tregan@isdnet.net> a icrit dans l'article
<01bc945c$09bc51d0$a9aa95c2@loic_k6>...
> [Moderator's note: the following is only barely on-topic for
> comp.std.c++. Please try to keep followups on-topic, or
> take the discussion elsewhere, e.g. comp.object. -moderator (fjh).]
My aim was to prove that dynamic inheritance could be included in C++. And
to show that dynamic inheritance is useful, we had to discuss about design
decision.
---
[ 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 ]