comp.lang.ada
 help / color / mirror / Atom feed
From: "Matthew Heaney" <matthew_heaney@acm.org>
Subject: Re: Barnes vs. Dewar
Date: 1999/08/27
Date: 1999-08-27T00:00:00+00:00	[thread overview]
Message-ID: <37c6fe0a@news1.us.ibm.net> (raw)
In-Reply-To: wcc3dx5gp7v.fsf@world.std.com

In article <wcc3dx5gp7v.fsf@world.std.com> , Robert A Duff 
<bobduff@world.std.com>  wrote:

> You may declare Initialize in the visible part of
> Tracked_Things.User_View, and it will override the privately-inherited
> Initialize, and it will also be visible outside this package.

Wow!  I didn't know you could do that.  I just assumed that once private,
then always private, for all descendents.

> Is that what you want?

Good question.  It's bad enough that a controlled operation is public, but
it's even worse when public-ness only applies to some types in the class.

--
Matt

It is impossible to feel great confidence in a negative theory which has
always rested its main support on the weak points of its opponent.

Joseph Needham, "A Mechanistic Criticism of Vitalism"




  reply	other threads:[~1999-08-27  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-08-27  0:00 Barnes vs. Dewar Anton Gibbs
1999-08-27  0:00 ` Matthew Heaney
1999-08-27  0:00 ` Robert A Duff
1999-08-27  0:00   ` Matthew Heaney [this message]
1999-08-30  0:00     ` Robert A Duff
1999-08-29  0:00 ` Robert Dewar
replies disabled

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