From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,18f7f6e041b3e0bf X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-08-12 05:44:31 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: Dispatching and generics - language lawyer question Date: 12 Aug 2002 05:44:30 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0208120444.5744b83f@posting.google.com> References: <1028219309.986605@master.nyc.kbcfp.com> <1028303374.179416@master.nyc.kbcfp.com> NNTP-Posting-Host: 205.232.38.14 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1029156271 22902 127.0.0.1 (12 Aug 2002 12:44:31 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 12 Aug 2002 12:44:31 GMT Xref: archiver1.google.com comp.lang.ada:27949 Date: 2002-08-12T12:44:31+00:00 List-Id: Hyman Rosen wrote in message news:<1028303374.179416@master.nyc.kbcfp.com>... > I think that the GNAT creators would disagree with you. > As far as I know, they make corresponding Ada and C++ > objects layout compatible. Perhaps one of them will > explain why. That's a bit confused. The layout of tagged types in GNAT is defined by the body of the run-time unit Ada.Tags. Whether this corresponds or not to some particular C++ compiler depends on whether you tailor Ada.Tags appropriately. In practice, the only significant use of the tight C++ binding of objects and tagged types in GNAT was by SGI for some of their graphics packages, otherwise I don't think the feature has been used. (there are lots of things in GNAT that are very interesting but don't get used, e.g. the entire Information Systems Annex :-)