🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #4042

Re: Is RTTI required if polymorphic constructor exists

#4042
From: Fergus Henderson
Date: Mon, 15 Apr 1996 16:36
21 lines
1699 bytes
satrajit@iscs.nus.sg (Satrajit Sujit Ghosh) writes:

>	If a polymorphic constructor can be created as demonstrated below, 
>is RTTI really necessary, considering that it does not really provide a 
>great deal of information.

No, RTTI is not really necessary.  `if', `while', and `for' are not
really necessary either, because you can just use `goto'.  Like many
other things, RTTI is not strictly necessary, but convenient.

--
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
---
[ comp.std.c++ is moderated.  To submit articles: Try just posting with your 
                newsreader.  If that fails, use mailto:std-c++@ncar.ucar.edu
  comp.std.c++ FAQ: http://reality.sgi.com/austern/std-c++/faq.html
  Moderation policy: http://reality.sgi.com/austern/std-c++/policy.html
  Comments? mailto:std-c++-request@ncar.ucar.edu 
]
Technical Details
Message-ID: <4kr21b$6ar@mulga.cs.mu.OZ.AU>
Path: arc1-ca.pugleaf.net!fido.asd.sgi.com!austern
References: <4kng7f$kt9@nuscc.nus.sg>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!fido.asd.sgi.com!austern
From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson)
Newsgroups: comp.std.c++
Subject: Re: Is RTTI required if polymorphic constructor exists
Date: 15 Apr 1996 09:36:42 PDT
Organization: Comp Sci, University of Melbourne
Approved: austern@isolde.mti.sgi.com
Message-ID: <4kr21b$6ar@mulga.cs.mu.OZ.AU>
References: <4kng7f$kt9@nuscc.nus.sg>
NNTP-Posting-Host: isolde.mti.sgi.com
X-Original-Date: 14 Apr 1996 14:27:55 GMT
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBVAwUBMXJ7G0y4NqrwXLNJAQEm9gIAipNwPZRtnlLB/9tkpWjrAt2ZreOeUm8F
 PoUaPrY51lngs5aNFF9HaEKQ2XYm57aYXVu9jtSkiQYx7+qJhzk/CA==
 =yJjY
Originator: austern@isolde.mti.sgi.com