comp.lang.ada
 help / color / mirror / Atom feed
From: "Dr. Adrian Wrigley" <amtw@linuxchip.demon.co.uk.uk.uk>
Subject: Re: visibility of private incomplete types
Date: Mon, 01 Nov 2004 00:40:38 GMT
Date: 2004-11-01T00:40:38+00:00	[thread overview]
Message-ID: <pan.2004.11.01.00.40.59.522750@linuxchip.demon.co.uk.uk.uk> (raw)
In-Reply-To: 2ugf6aF29kg38U1@uni-berlin.de

> 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...)



  reply	other threads:[~2004-11-01  0:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-28 12:03 visibility of private incomplete types Georg Bauhaus
2004-10-28 15:36 ` Martin Dowie
2004-10-28 22:19   ` Randy Brukardt
2004-10-29 14:16     ` Nick Roberts
2004-10-29 15:33       ` Frank J. Lhota
2004-10-30  3:13         ` Nick Roberts
2004-11-01  0:40           ` Dr. Adrian Wrigley [this message]
2004-12-09 21:21             ` Lionel Draghi
2004-12-10  4:06               ` Alexander E. Kopilovich
2004-12-10  9:23               ` Martin Krischik
2004-10-30  0:36     ` Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox