comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@gnat.com (Robert Dewar)
Subject: Re: have to use unrestricted access but just what about access
Date: 20 Jun 2002 09:05:35 -0700
Date: 2002-06-20T16:05:37+00:00	[thread overview]
Message-ID: <5ee5b646.0206200805.7c4be786@posting.google.com> (raw)
In-Reply-To: 0x8Q8.6779$ZP1.1263481@news11-gui.server.ntli.net

"chris.danx" <spamoff.danx@ntlworld.com> wrote in message news:<0x8Q8.6779$ZP1.1263481@news11-gui.server.ntli.net>...
> Hi,
> 
> How can the unrestricted_access attribute be replaced by 
> just access in the following code?


The referenced post in this thread is an excellent lesson
in when how to seriously misuse the Unrestricted_Access
attribute. Of course it is no worse than Address, since
it is exactly equivalent to taking 'Address and then
applying an unchecked conversion to get the access type
in question.

But even a cursory examination of this code will show
that it is very likely to generate a dangling pointer.



  parent reply	other threads:[~2002-06-20 16:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-19 23:32 have to use unrestricted access but just what about access chris.danx
2002-06-20  8:41 ` chris.danx
2002-06-20 12:10 ` SteveD
2002-06-20 14:22 ` Robert A Duff
2002-06-21 11:45   ` Robert Dewar
2002-06-22  0:49     ` Robert A Duff
2002-06-22  1:05       ` Ted Dennison
2002-06-22 12:09         ` Robert Dewar
2002-07-20  4:59     ` Craig Carey
2002-07-20 17:47       ` Robert A Duff
2002-07-21  8:45         ` Craig Carey
2002-06-20 16:05 ` Robert Dewar [this message]
2002-06-20 17:11   ` chris.danx
replies disabled

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