comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: access types
Date: Sun, 1 Jul 2007 09:52:22 +0200
Date: 2007-07-01T09:51:39+02:00	[thread overview]
Message-ID: <3b3itu0t79zl$.czig4w8nzdmp.dlg@40tude.net> (raw)
In-Reply-To: wcc7ipk99dk.fsf@shell01.TheWorld.com

On Sat, 30 Jun 2007 21:54:15 -0400, Robert A Duff wrote:

> Brian May <bam@snoopy.apana.org.au> writes:
> 
>>         V := U;
> 
> Try V := U.all'Access.

No, that won't work, because the access types are pool-specific. It is a
nasty problem one has to fight all the way when dealing with tagged types
and pool-specific access types.

Sorry, Brian, you probably have to resort to Unchecked_Conversion or else
add "all" to your access types.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2007-07-01  7:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-01  0:39 access types Brian May
2007-07-01  1:54 ` Robert A Duff
2007-07-01  7:52   ` Dmitry A. Kazakov [this message]
2007-07-01 14:57     ` Robert A Duff
2007-07-01 19:41       ` Dmitry A. Kazakov
2007-07-02  0:12         ` Robert A Duff
2007-07-02  8:06           ` Dmitry A. Kazakov
2007-07-02 15:37       ` Adam Beneschan
  -- strict thread matches above, loose matches on Subject: below --
1999-07-15  0:00 Access Types Ronald Ayoub
1999-07-21  0:00 ` Robert A Duff
1999-07-22  0:00   ` Steve Folly
1999-07-23  0:00     ` Tucker Taft
1998-05-27  0:00 Access types jsanchor
1998-05-28  0:00 ` Jerry van Dijk
1998-05-29  0:00   ` jsanchor
1998-05-30  0:00     ` Jerry van Dijk
replies disabled

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