From: Jacob Sparre Andersen <sparre@nbi.dk>
Subject: Re: address/access/pointer confusion
Date: 21 Oct 2004 09:30:12 +0200
Date: 2004-10-21T06:07:18+00:00 [thread overview]
Message-ID: <rlsk6tkcyuz.fsf@jacob.crs4.it> (raw)
In-Reply-To: 35f054ea.0410201051.78cc61a0@posting.google.com
<aschwarz@acm.org> wrote:
I don't think there exists a one-to-one mapping between Ada and C
pointer-like types.
> An Ada Address is a pointer in the same sense as a C/C++ pointer,
> with similar operations and interpretation.
Not quite. I think (Ada) System.Address specifically corresponds to a
(C) void pointer, since System.Address doesn't have a specific type
associated with it, and thus doesn't have the "increment by the size
of the object pointed to" function that non-void pointers have.
Greetings,
Jacob
--
"I don't want to gain immortality in my works.
I want to gain it by not dying."
next prev parent reply other threads:[~2004-10-21 7:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-20 13:56 address/access/pointer confusion Hans Van den Eynden
2004-10-20 16:55 ` Martin Krischik
2004-10-20 18:51 ` skidmarks
2004-10-20 23:37 ` Georg Bauhaus
2004-10-21 7:30 ` Jacob Sparre Andersen [this message]
2004-10-22 1:14 ` Jeffrey Carter
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox