comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam@spam.com>
Subject: Re: access private element of base-class
Date: Fri, 01 Oct 2004 00:54:30 GMT
Date: 2004-10-01T00:54:30+00:00	[thread overview]
Message-ID: <aV17d.3257$Yr.1573@newsread3.news.pas.earthlink.net> (raw)
In-Reply-To: <cji8ru$jtf$02$1@news.t-online.com>

Rick Santa-Cruz wrote:
> 
> I read, that the Ada-private is more similar to protected than to C++ 
> private, so I tried the following:

It's like C++'s "protected" because the full view is visible in

A private child package

The private part and body of a public child package

Since you don't have a child package, private is private in your 
package; the full view is not visible outside the package and its children.

-- 
Jeff Carter
"Perfidious English mouse-dropping hoarders."
Monty Python & the Holy Grail
10




  reply	other threads:[~2004-10-01  0:54 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 [this message]
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
replies disabled

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