comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Accessibility checks
Date: Thu, 18 Jul 2013 08:14:12 +0100
Date: 2013-07-18T08:14:12+01:00	[thread overview]
Message-ID: <lyvc48tk57.fsf@pushface.org> (raw)
In-Reply-To: CE0CF7DE.329A0%yaldnif.w@blueyonder.co.uk

Bill Findlay <yaldnif.w@blueyonder.co.uk> writes:

> On 18/07/2013 00:44, in article ks7a8v$4nj$1@loke.gir.dk, "Randy Brukardt"
> <randy@rrsoftware.com> wrote:
>
>> "Jeffrey Carter" <spam.jrcarter.not@spam.not.acm.org> wrote in message
>> news:ks718g$aim$2@dont-email.me...
>
>>> Brukardt, ARG member and editor of the ARM, claims that 'Access
>>> never works and 'Unchecked_Access is always required, bypassing the
>>> accessibility checks. While this is not entirely true, it's quite
>>> common that one must use 'Unchecked_Access, so we could do without
>>> these rules and checks in the majority of cases.
>> 
>> That's not entirely true: I did find one (and only one) instance
>> where I was able to use 'Access in my code (it had to do with a
>> library-level initialization).
>
> Interesting.
>
> My projects have 37 occurrences of 'Access and only 2 of
> 'Unchecked_Access.

A program which constructs a partial representation of a UML model, and
then walks the representation, used 'Access 43 times to iterate over
containers (in Ada 2005!) and 'Unchecked_Access 38 times to construct
the representation.

  reply	other threads:[~2013-07-18  7:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-17 20:09 Accessibility checks Florian Weimer
2013-07-17 20:20 ` Alan Jump
2013-07-17 21:16 ` Jeffrey Carter
2013-07-17 23:44   ` Randy Brukardt
2013-07-18  0:39     ` Bill Findlay
2013-07-18  7:14       ` Simon Wright [this message]
2013-07-19  8:41         ` Georg Bauhaus
2013-07-19  4:48       ` Randy Brukardt
2013-07-22  6:11       ` ake.ragnar.dahlgren
2013-07-22  9:03         ` Bill Findlay
2013-07-24 13:01           ` ake.ragnar.dahlgren
2013-07-24 13:27             ` Dmitry A. Kazakov
2013-07-29  6:18               ` ake.ragnar.dahlgren
2013-07-18  0:41     ` Jeffrey Carter
2013-07-19  4:51       ` Randy Brukardt
replies disabled

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