comp.lang.ada
 help / color / mirror / Atom feed
From: "John B. Matthews" <nospam@nospam.invalid>
Subject: Re: Private with -- what for?
Date: Wed, 16 Feb 2011 20:22:58 -0500
Date: 2011-02-16T20:22:58-05:00	[thread overview]
Message-ID: <nospam-8C1744.20225816022011@news.aioe.org> (raw)
In-Reply-To: fe7542ee-1ad4-4019-bf4f-c541cefe13a1@a11g2000pro.googlegroups.com

In article 
<fe7542ee-1ad4-4019-bf4f-c541cefe13a1@a11g2000pro.googlegroups.com>,
 Rick <rickduley@gmail.com> wrote:

> I was just looking at
>  http://en.wikibooks.org/wiki/Ada_Programming/Packages
> and the concept of "private with ..."
> 
> There must be some advantage in using it, but I cannot imagine what
> that could be.  Can someone enlighten me?

"Then there is _private_with_ to make a package only visible inside the 
private part of the specification." [1] There's an informative discussion 
in the "Rationale for Ada 2005." [2]

[1]<http://en.wikibooks.org/wiki/Ada_Programming/Ada_2005>
[2]<http://www.adaic.org/resources/add_content/standards/05rat/html/Rat-1-3-3.html>

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>



  reply	other threads:[~2011-02-17  1:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-16 23:48 Private with -- what for? Rick
2011-02-17  1:22 ` John B. Matthews [this message]
2011-02-17  1:34 ` Adam Beneschan
replies disabled

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