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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!gandalf.srv.welterde.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Prologue and epilogue aspects Date: Mon, 29 Jan 2018 17:08:44 -0600 Organization: JSA Research & Innovation Message-ID: References: Injection-Date: Mon, 29 Jan 2018 23:08:45 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="30314"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader02.eternal-september.org comp.lang.ada:50205 Date: 2018-01-29T17:08:44-06:00 List-Id: You mean sort of like "universal_controlled"? As previously noted, that might work for streams (and maybe pools),but controlled usually carries components along as well, so an interface (which cannot have components) is a bad match. Randy. "Dmitry A. Kazakov" wrote in message news:p4hh1n$1qao$1@gioia.aioe.org... > On 2018-01-27 08:17, Randy Brukardt wrote: >> "Dmitry A. Kazakov" wrote in message >> news:p4g15r$1s60$1@gioia.aioe.org... >> ... >>> type Controlled is abstract new with private; >> >> This unfortunately doesn't fix anything. An interface never can be hidden >> (only in the private part), and deriving a concrete type from an >> interface >> doesn't change that. > > But the interface is anonymous, it cannot be referenced in any way > anywhere. It is mentioned only to be inherited from by a named interface. > > > / \ > Controlled Controlled_Interface > > -- > Regards, > Dmitry A. Kazakov > http://www.dmitry-kazakov.de