From: Adam Beneschan <adam@irvine.com>
Subject: Re: Protected types and visibility of their internals
Date: Wed, 9 Jul 2008 08:12:53 -0700 (PDT)
Date: 2008-07-09T08:12:53-07:00 [thread overview]
Message-ID: <05f75217-d855-40c5-843c-c4b29c923661@m45g2000hsb.googlegroups.com> (raw)
In-Reply-To: 5dfd2485-ae32-407d-a5e6-7caab2e79898@x41g2000hsb.googlegroups.com
On Jul 8, 10:04 pm, christoph.gr...@eurocopter.com wrote:
> If you want the protected type to be visible, alas there is no other
> place to declare this type than in the visible part of the package.
> This is inconvenient. The rationale for this?
>
> You can however hide the PO in the body and export the operations via
> renaming.
Except that if he's trying to declare a protected *type*, that
probably means he wants to declare more than one protected object of
that type, so renaming isn't going to work. You'll probably have to
use a wrapper or follow Georg's suggestion.
-- Adam
next prev parent reply other threads:[~2008-07-09 15:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-08 9:57 Protected types and visibility of their internals Maciej Sobczak
2008-07-08 12:52 ` Georg Bauhaus
2008-07-08 16:13 ` Robert A Duff
2008-07-09 7:53 ` christoph.grein
2008-07-08 21:03 ` Randy Brukardt
2008-07-10 21:49 ` Maciej Sobczak
2008-07-09 5:04 ` christoph.grein
2008-07-09 13:44 ` Maciej Sobczak
2008-07-09 15:12 ` Adam Beneschan [this message]
2008-07-09 22:19 ` Stephen Leake
2008-07-09 22:38 ` Adam Beneschan
2008-07-10 0:18 ` Randy Brukardt
2008-07-10 0:18 ` Randy Brukardt
2008-07-09 23:22 ` jimmaureenrogers
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox