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.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, FROM_STARTS_WITH_NUMS autolearn=no autolearn_force=no version=3.4.4 X-Received: by 10.107.173.227 with SMTP id m96mr2109152ioo.70.1519419214186; Fri, 23 Feb 2018 12:53:34 -0800 (PST) X-Received: by 10.157.22.195 with SMTP id s3mr117554ots.13.1519419214003; Fri, 23 Feb 2018 12:53:34 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.mixmin.net!border2.nntp.ams1.giganews.com!nntp.giganews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!w142no919787ita.0!news-out.google.com!s63ni2760itb.0!nntp.google.com!w142no919783ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 23 Feb 2018 12:53:33 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=85.240.211.93; posting-account=rhqvKAoAAABpikMmPHJSZh4400BboHwT NNTP-Posting-Host: 85.240.211.93 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: questions on RM's section of subprograms and dispatching From: Mehdi Saada <00120260a@gmail.com> Injection-Date: Fri, 23 Feb 2018 20:53:34 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Body-CRC: 1257478609 X-Received-Bytes: 1899 Xref: reader02.eternal-september.org comp.lang.ada:50613 Date: 2018-02-23T12:53:33-08:00 List-Id: Okay, I'm lost. Is this explained in Tagged Types and Type Extensions ? Should I have read before... idiot. I can see many non-abstract methods with class-wide controlling parameters/results, which is fine... I forgot telling that. But then there is function Available (C : Abstract_Collection) return Natural is pragma Warnings (Off, C); begin return Natural'Last; end Available; which I don't know what to think of. Is it special in any way ? Or could it have any content, and the body will be inherited the descendants ? I guess it's the second choice. I'll come back tomorrow after reading the section.