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!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Bob Duff Newsgroups: comp.lang.ada Subject: Re: Indefinite Containers of Indefinite Private Types Date: Fri, 07 Aug 2015 16:13:21 -0400 Organization: A noiseless patient Spider Message-ID: <87a8u2luvy.fsf@theworld.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="0cab3d4a5288546d8cda0eda214d5ac2"; logging-data="390"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19g+YrZgSdo/f3OJUUIg2L9" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:76HkcmhuLFui4q0LCRFLfec77mU= sha1:F/hvrvrvubC202gu0dg27aw2yIs= Xref: news.eternal-september.org comp.lang.ada:27388 Date: 2015-08-07T16:13:21-04:00 List-Id: "Jeffrey R. Carter" writes: > Yes, of course. The examples are simplified from a more complex case where the > container is used in the full type definition. This can be achieved by adding > some additional code that is essentially noise, or by using access types. > Avoiding access types is worth adding noise, but it would be nice if the noise > were unnecessary. I'm curious what the "noise" looks like in your case. Last time I ran into this problem I think I ended up using a workaround that involved access types. I don't remember the details. - Bob