comp.lang.ada
 help / color / mirror / Atom feed
From: Hyman Rosen <hyrosen@mail.com>
Subject: Re: Bye-bye Ada ? (Ada95 Wholesale Changes?)
Date: Thu, 20 Feb 2003 04:03:37 GMT
Date: 2003-02-20T04:03:37+00:00	[thread overview]
Message-ID: <tsY4a.189$MH6.157@nwrdny02.gnilink.net> (raw)
In-Reply-To: <pan.2003.02.15.15.43.50.777485@T-Online.de>

Martin Krischik wrote:
> That would mean that the virtual inline might be elaborated hundreds of
> time - in every compilation unit with a contructor call. With the result
> that no two virtual function tables will look the same.

Excuse me, but you really are extremely mistaken. I repeat, please
acquaint yourself with the language before making pronouncements
about it, so that you will not spread misinformation.

C++ compilers use a variety of means to decide when to generate
"elaborations" of virtual functions. In general, even if this
happens in multiple compilation units, linker directives are used
to indicate that all of the instantiations must be identical and
they are then merged into a single copy. There is only one virtual
table for a class, merged in the same way if needed, so it "looks
the same" by definition. I have no idea what constructors have to
do with any of this, since constructors are never virtual. You
just seem to be confused.

> Some C++ style guides suggest not to use virtual inlines because of it.

Some C++ style guides are desperately out of date, and others have been
written by people with the same lack of knowledge of C++ that you show.
Some descriptions of Ada report that it's a language designed by a
committee, is bloated, was forced upon people by the military, and is
generally unsuitable for any purpose.




  reply	other threads:[~2003-02-20  4:03 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-31 16:19 Bye-bye Ada ? Wes Groleau
2003-01-31 17:22 ` chris.danx
2003-01-31 19:00   ` Wes Groleau
2003-02-01 14:29     ` Marin David Condic
2003-02-02 22:24       ` chris.danx
2003-02-03 13:20         ` Marin David Condic
2003-02-03 17:26           ` Richard Riehle
2003-02-04 13:22             ` Marin David Condic
2003-02-06  4:23               ` Richard Riehle
2003-02-06 13:03                 ` Marin David Condic
2003-02-07  9:27                   ` Ole-Hjalmar Kristensen
2003-02-07 12:37                     ` Marin David Condic
2003-02-07  0:28                 ` P S Norby
2003-02-07  3:33                   ` Richard Riehle
2003-02-08  5:51                   ` AG
2003-02-04 16:25             ` Robert C. Leif
2003-02-01 17:40     ` Alfred Hilscher
2003-02-01 18:51       ` Larry Kilgallen
2003-02-02 14:11         ` Alfred Hilscher
2003-02-01 19:54       ` Jan-Uwe Finck
2003-02-02 15:19         ` Steffen Huber
2003-02-02 15:17       ` Steffen Huber
2003-02-03 17:05         ` Alfred Hilscher
2003-02-03 17:48           ` Steffen Huber
2003-01-31 17:58 ` Hyman Rosen
2003-01-31 22:13   ` Preben Randhol
2003-02-01 23:25     ` Hyman Rosen
2003-02-01 14:34   ` Marin David Condic
2003-01-31 20:52 ` David Marceau
2003-02-01  7:16   ` John R. Strohm
2003-02-01 19:25     ` David Marceau
2003-02-01 20:13       ` Ada job opportunity posted at THALES in Ottawa Citizen Today David Marceau
2003-02-01 20:16     ` Bye-bye Ada ? Vinzent Hoefler
2003-01-31 22:17 ` Preben Randhol
2003-02-01  7:48 ` Richard Riehle
2003-02-01 23:31   ` Hyman Rosen
2003-02-03 17:25     ` Warren W. Gay VE3WWG
2003-02-03 17:49       ` Hyman Rosen
2003-02-04  0:19         ` Chad R. Meiners
2003-02-04 16:32           ` Hyman Rosen
2003-02-04 17:59             ` Warren W. Gay VE3WWG
2003-02-04 16:30         ` Frank J. Lhota
2003-02-04 16:41           ` Hyman Rosen
2003-02-04 16:54       ` Kevin Cline
2003-02-04 18:00         ` Warren W. Gay VE3WWG
2003-02-05  7:12         ` Karel Miklav
2003-02-05  5:26     ` Richard Riehle
2003-02-05 15:07       ` Hyman Rosen
2003-02-06 18:14         ` Bye-bye Ada ? (Ada95 Wholesale Changes?) Warren W. Gay VE3WWG
2003-02-06 18:51           ` Robert Spooner
2003-02-06 23:00           ` Jerry Petrey
2003-02-07  1:21             ` Jeffrey Carter
2003-02-07  3:53           ` Richard Riehle
2003-02-07  4:35             ` Hyman Rosen
2003-02-07 18:25               ` Richard Riehle
2003-02-08  5:51                 ` Kevin Cline
2003-02-08  6:49                   ` Richard Riehle
2003-02-09 11:47                     ` Hyman Rosen
2003-02-10  5:20                       ` Richard Riehle
2003-02-10  6:21                         ` Hyman Rosen
2003-02-16 21:09                           ` Richard Riehle
2003-02-20  3:53                             ` Hyman Rosen
2003-02-12 19:04                     ` Martin Krischik
2003-02-13 17:27                       ` Hyman Rosen
2003-02-15 11:56                         ` Martin Krischik
2003-02-20  4:08                           ` Hyman Rosen
2003-02-23 13:37                             ` Martin Krischik
2003-02-24 17:00                               ` Hyman Rosen
2003-02-26 19:57                                 ` Martin Krischik
2003-02-15 15:43                         ` Martin Krischik
2003-02-20  4:03                           ` Hyman Rosen [this message]
2003-02-07  6:28             ` K
2003-02-07  6:58               ` Vinzent Hoefler
2003-02-07  7:17           ` K
2003-02-07  8:57           ` Ole-Hjalmar Kristensen
2003-02-07  9:22           ` Dmitry A. Kazakov
2003-02-01 14:24 ` Bye-bye Ada ? Marin David Condic
2003-02-02  9:51 ` Anders Wirzenius
2003-02-04 19:26   ` Jacob Sparre Andersen
  -- strict thread matches above, loose matches on Subject: below --
2003-02-06 19:12 Bye-bye Ada ? (Ada95 Wholesale Changes?) Beard, Frank Randolph CIV
2003-02-10 17:16 ` Warren W. Gay VE3WWG
2003-02-10 18:00   ` Hyman Rosen
2003-02-10 18:32     ` Larry Kilgallen
2003-02-06 22:16 David Botton
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox