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,8dc50f1b24590126 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!news2.telebyte.nl!border2.nntp.ams.giganews.com!nntp.giganews.com!news-in.ntli.net!newsrout1-win.ntli.net!ntli.net!newspeer1-win.ntli.net!newsfe6-win.ntli.net.POSTED!53ab2750!not-for-mail From: "Dr. Adrian Wrigley" Subject: Re: visibility of private incomplete types User-Agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) Message-Id: Newsgroups: comp.lang.ada References: <4180fb61$0$20941$9b4e6d93@newsread2.arcor-online.net> <4181108a_1@baen1673807.greenlnk.net> <9NWdnRZle_mB7RzcRVn-uQ@megapath.net> <2uf1loF27r1iqU1@uni-berlin.de> <2ugf6aF29kg38U1@uni-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Mon, 01 Nov 2004 00:40:38 GMT NNTP-Posting-Host: 81.100.88.147 X-Complaints-To: http://www.ntlworld.com/netreport X-Trace: newsfe6-win.ntli.net 1099269638 81.100.88.147 (Mon, 01 Nov 2004 00:40:38 GMT) NNTP-Posting-Date: Mon, 01 Nov 2004 00:40:38 GMT Organization: ntl Cablemodem News Service Xref: g2news1.google.com comp.lang.ada:5940 Date: 2004-11-01T00:40:38+00:00 List-Id: > Frank J. Lhota wrote: ...example omitted >> This type of package specification in legal in both Ada 83 and Ada 95 >> (and presumably in Ada 200x), for Widget_Data is never used in a way >> that requires a full declaration. Of course, Widget_Data must be fully >> declared in the package body. At last! An answer to a long-standing annoyance I found with the language... how to put the full type declarations (implementations) into the package body, where they belong! I had thought it was meant to be possible, but had never seen exactly how. (presumably this one way to get physical isolation between different components in a large system, so changes to data types don't trigger recompilation of everything) time to tidy up some old code of mine... Thanks for pointing this out, guys! -- Adrian (maybe I'd better also (re-)read the ARM and those books gathering dust...)