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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,81bb2ce65a3240c3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.231.2 with SMTP id tc2mr1606484pbc.8.1336547955833; Wed, 09 May 2012 00:19:15 -0700 (PDT) Path: pr3ni5276pbb.0!nntp.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: What would you like in Ada202X? Date: Wed, 9 May 2012 09:18:39 +0200 Organization: cbb software GmbH Message-ID: <1drg0pngpz60n$.13rm2wqyteyli$.dlg@40tude.net> References: <3637793.35.1335340026327.JavaMail.geo-discussion-forums@ynfi5> <20780405.1069.1336372385458.JavaMail.geo-discussion-forums@pbkc8> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-05-09T09:18:39+02:00 List-Id: On Tue, 8 May 2012 17:22:16 -0500, Randy Brukardt wrote: > For example: > Put (X : in Root_Integer'Class); > is much more useable than a generic that you have to instantiation for each > kind of type. (Some operations really do cross-cut types.) (That's for sure, generics must be wiped out) But how would you have Root_Integer'Class without multiple inheritance? What about Root_Discrete'Class, Root_Scalar'Class, Root_Numeric'Class and dozens other classes it belongs to? You cannot order interfaces like these in one string. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de