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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.152.207 with SMTP id a198mr706530ioe.90.1520728295265; Sat, 10 Mar 2018 16:31:35 -0800 (PST) X-Received: by 10.157.11.165 with SMTP id 34mr179182oth.7.1520728295105; Sat, 10 Mar 2018 16:31:35 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!e10-v6no794274itf.0!news-out.google.com!a2-v6ni2395ite.0!nntp.google.com!e10-v6no794273itf.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 10 Mar 2018 16:31:34 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=173.71.218.250; posting-account=QF6XPQoAAABce2NyPxxDAaKdAkN6RgAf NNTP-Posting-Host: 173.71.218.250 References: <5294b37f-57b1-4b8c-bd84-5dff3a0e7eac@googlegroups.com> <86b8ddee-fef0-426b-af90-c6f5ce9c9d93@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <500fa868-5825-4a5b-96e2-55ea1620fcc3@googlegroups.com> Subject: Re: Ada Alternatives to Unrestricted_Access From: Jere Injection-Date: Sun, 11 Mar 2018 00:31:35 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2065 X-Received-Body-CRC: 3222604062 Xref: reader02.eternal-september.org comp.lang.ada:50921 Date: 2018-03-10T16:31:34-08:00 List-Id: On Friday, March 9, 2018 at 3:28:43 AM UTC-5, Dmitry A. Kazakov wrote: > On 09/03/2018 01:52, Jere wrote: > > > Example: > > with Ada.Text_IO; use Ada.Text_IO; > > with System.Address_To_Access_Conversions; > > > > procedure jdoodle is > > type Container is tagged null record; > > Do you have control over Container? Can you derive from? Can you put it > into a wrapper type or use a handle to the container in the generic > instead of container itself. > > -- > Regards, > Dmitry A. Kazakov > http://www.dmitry-kazakov.de Not practically. I'm not really allowed to change any of the specs and there is already a lot of code using the existing containers and the generic.