From: tmoran@acm.org
Subject: semi-visibility
Date: Fri, 13 Jun 2003 00:25:28 GMT
Date: 2003-06-13T00:25:28+00:00 [thread overview]
Message-ID: <YR8Ga.121540$d51.192359@sccrnsc01> (raw)
I want to do the following, but it's illegal. What's a good way to
accomplish the purpose, preferably without increasing the depth of
the package heirarchy, or enlarging package A.
private package A.B is
type Visible_To_Relatives is ...
end A.B;
with A.B;
package A.C is
type T is private;
procedure P(x : in T);
private
type T is record
v : A.B.Visible_To_Relatives;
end record;
end A.C;
with A.B;
package A.D is ...
-- private part here similarly needs visibility of A.B
next reply other threads:[~2003-06-13 0:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-13 0:25 tmoran [this message]
2003-06-13 1:37 ` semi-visibility Jeffrey Carter
2003-06-13 23:08 ` semi-visibility Randy Brukardt
2003-06-13 3:40 ` semi-visibility Steve
2003-06-13 4:11 ` semi-visibility tmoran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox