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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,b0ad1d51e4ffa82b X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed-00.mathworks.com!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: access types Date: Sun, 01 Jul 2007 20:12:23 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <3b3itu0t79zl$.czig4w8nzdmp.dlg@40tude.net> <1ms47w0p7qd6m$.780b4ot5v1q1.dlg@40tude.net> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1183335143 18130 192.74.137.71 (2 Jul 2007 00:12:23 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Mon, 2 Jul 2007 00:12:23 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:DQUpZDmdN15ON7DHKoWYk6G3z8s= Xref: g2news1.google.com comp.lang.ada:16377 Date: 2007-07-01T20:12:23-04:00 List-Id: "Dmitry A. Kazakov" writes: > On Sun, 01 Jul 2007 10:57:17 -0400, Robert A Duff wrote: > >> Access-to-classwide should normally use "all". >> In fact, you won't go too far wrong if you always say "all" >> for all named access-to-variable types. > > I appreciate storage pools too much to agree with that. There are so many > interesting things we can do with pools, multiple inheritance for example! > (:-)) OK, I'll bite. ;-) How do you do multiple inheritance with pools? Anyway, "all" does not stop you from using pools. > I could never understand why explicit conversion is not allowed for > pointers from the same pool. Well, that might make sense, but we never thought of that. "Pool specific" is somewhat of a misnomer. It really just means "Ada 83-style access type". - Bob