comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: A hole in Ada type safety
Date: Thu, 12 May 2011 17:58:17 -0700 (PDT)
Date: 2011-05-12T17:58:17-07:00	[thread overview]
Message-ID: <e14db167-8c22-4e90-9a69-a20e799e2fc3@h12g2000pro.googlegroups.com> (raw)
In-Reply-To: iqhv23$bd5$1@speranza.aioe.org

On May 12, 5:47 pm, a...@att.net wrote:
> --
> --  May be this program will help explain the problem.
> --
> --  Plus,
> --  RM 13.9 (12) -- say the function can copy "by reference, if the
> --  Source type is not a by-copy type." In Ada 2005, the definition
> --  of Source type for the Unchecked_Conversion is still a "limited
> --  private" which is a "Limited Type, and all Limited types (RM 7.5)
> --  are now a by-copy type.

Bzzzt!!  Please read 6.2.  If you're going to try be be a language
lawyer, you might want to consult the RM to find out what the terms
you use actually mean, rather than guessing.

                              -- Adam



  reply	other threads:[~2011-05-13  0:58 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-30  8:41 A hole in Ada type safety Florian Weimer
2011-04-30 11:56 ` Robert A Duff
2011-04-30 15:27   ` Gavino
2011-04-30 16:16   ` Florian Weimer
2011-04-30 23:39     ` Randy Brukardt
2011-05-01 10:26       ` Florian Weimer
2011-05-03  1:40         ` Randy Brukardt
2011-05-03 16:57           ` Robert A Duff
2011-05-07  9:09           ` Florian Weimer
2011-05-07  9:28             ` Dmitry A. Kazakov
2011-05-07  9:57               ` Florian Weimer
2011-05-08  8:08                 ` Dmitry A. Kazakov
2011-05-08  8:46                   ` Florian Weimer
2011-05-08  9:32                     ` Dmitry A. Kazakov
2011-05-08 10:30                       ` Florian Weimer
2011-05-08 20:24                         ` anon
2011-05-08 21:11                           ` Simon Wright
2011-05-10  6:27                             ` anon
2011-05-10 14:39                               ` Adam Beneschan
2011-05-11 20:39                                 ` anon
2011-05-12  0:51                                   ` Randy Brukardt
2011-05-13  0:47                                     ` anon
2011-05-13  0:58                                       ` Adam Beneschan [this message]
2011-05-13  5:31                                       ` AdaMagica
2011-05-12  5:51                                   ` AdaMagica
2011-05-12 12:09                                     ` Robert A Duff
2011-05-12 14:40                                     ` Adam Beneschan
2011-05-14  0:30                                       ` Randy Brukardt
2011-05-09  7:48                         ` Dmitry A. Kazakov
2011-05-09 20:41             ` Randy Brukardt
2011-05-14 23:47     ` anon
replies disabled

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