comp.lang.ada
 help / color / mirror / Atom feed
* Extended revelation
@ 2000-01-31  0:00 Jean-Marc Bourguet
  2000-01-31  0:00 ` Matthew Heaney
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jean-Marc Bourguet @ 2000-01-31  0:00 UTC (permalink / raw)


Hi all,

I've a package which export to his users some usefull types and
routines. In his private part, I've some more declarations
which are exported to his child packages.

My problem is that in one of the child package, I'd like to make
public one of the private type (T). I had though that

	type T1 is private;
    private
	subtype T1 is T;

but that's not valid. As renanimg does not apply to types I can't see
an easy way to do it. Currently I'm using

	type T1 is private;
    private
	type T1 is new T;

I've also considered exporting T from the parent package, but neither
solution please me.

-- Jean-Marc


Sent via Deja.com http://www.deja.com/
Before you buy.




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

end of thread, other threads:[~2000-02-01  0:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-31  0:00 Extended revelation Jean-Marc Bourguet
2000-01-31  0:00 ` Matthew Heaney
2000-01-31  0:00 ` Mark Lundquist
2000-01-31  0:00 ` Jean-Marc Bourguet
2000-01-31  0:00   ` Matthew Heaney
2000-01-31  0:00     ` Vladimir Olensky
2000-02-01  0:00   ` Richard D Riehle

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