comp.lang.ada
 help / color / mirror / Atom feed
* semi-visibility
@ 2003-06-13  0:25 tmoran
  2003-06-13  1:37 ` semi-visibility Jeffrey Carter
  2003-06-13  3:40 ` semi-visibility Steve
  0 siblings, 2 replies; 5+ messages in thread
From: tmoran @ 2003-06-13  0:25 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-06-13 23:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-13  0:25 semi-visibility tmoran
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

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