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: 115aec,b761e94375940f9f X-Google-Attributes: gid115aec,public X-Google-Thread: 103376,b761e94375940f9f X-Google-Attributes: gid103376,public X-Google-Thread: 108717,b761e94375940f9f X-Google-Attributes: gid108717,public X-Google-Thread: f43e6,b761e94375940f9f X-Google-Attributes: gidf43e6,public X-Google-ArrivalTime: 2002-07-13 06:54:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!news.demon.co.uk!demon!pogner.demon.co.uk!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada,comp.realtime,comp.programming,comp.software-eng Subject: Re: ANNOUNCE: SPARK toolset 6.1 now available Date: 13 Jul 2002 14:37:32 +0100 Organization: Pushface Sender: simon@smaug Message-ID: References: <4519e058.0207110604.62691233@posting.google.com> NNTP-Posting-Host: pogner.demon.co.uk X-NNTP-Posting-Host: pogner.demon.co.uk:62.49.19.209 X-Trace: news.demon.co.uk 1026568380 nnrp-01:24556 NO-IDENT pogner.demon.co.uk:62.49.19.209 X-Complaints-To: abuse@demon.net User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Xref: archiver1.google.com comp.lang.ada:27044 comp.realtime:5841 comp.programming:35107 comp.software-eng:12101 Date: 2002-07-13T14:37:32+01:00 List-Id: "Randy Brukardt" writes: > Rod Chapman wrote in message ... > >dennison@telepath.com (Ted Dennison) wrote in message news: > >> By "dispatching" do you mean runtime polymorphisim as opposed to > >> compile-time polymorphisim? > > > >Correct. Run-time polymorhpism is not permitted. Calling an > >inherited (or overridden) basic operation with a specific tagged > >subtype is OK. > > > Do you do that by prohibiting T'Class, or do you allow it for uses > like hetrogeneous lists? If the latter, it seems as if there > wouldn't be any problem supporting run-time polymorphism. And if the > former is true, its hard to imagine what uses type extension can be > put to... Well, I suppose you can use implementation inheritance and save yourself repeating the code for inherited operations. I would be _very_ surprised if SPARKada allowed T'Class (uncertainty being something you don't want in safety-related software).