comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Re: access private element of base-class
Date: Sun, 03 Oct 2004 18:51:12 GMT
Date: 2004-10-03T18:51:12+00:00	[thread overview]
Message-ID: <ASX7d.1783$UP1.446@newsread1.news.pas.earthlink.net> (raw)
In-Reply-To: <sa4pt41by9o.fsf@snoopy.apana.org.au>

Brian May wrote:

> In Ada you can put multiple "classes" in one package. Hence there is
> no need to use "friends".

I was thinking of child packages, which have visibility, in their 
private parts and bodies, to the parent's private part. Thus, a child 
has the same visibility as a "friend", without the parent having to name 
or even know about the child.

-- 
Jeff Carter
"English bed-wetting types."
Monty Python & the Holy Grail
15




      parent reply	other threads:[~2004-10-03 18:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-01  0:35 access private element of base-class Rick Santa-Cruz
2004-10-01  0:54 ` Jeffrey Carter
2004-10-01  7:45   ` Martin Krischik
2004-10-01 17:54     ` Jeffrey Carter
2004-10-01 17:58       ` Rick Santa-Cruz
2004-10-02  3:21         ` Brian May
2004-10-02 11:32           ` Ludovic Brenta
2004-10-02 13:56             ` Nick Roberts
2004-10-03 18:51           ` Jeffrey Carter [this message]
replies disabled

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