From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,c8360a2ce0e343cc X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news2.telebyte.nl!npeer.de.kpn-eurorings.net!news-FFM2.ecrc.net!newsfeeder1.noc.eunet-ag.at!news.eunet.at!newscore.univie.ac.at!newsmi-eu.news.garr.it!NewsITBone-GARR!newsserver.cilea.it!news.crs4.it!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: address/access/pointer confusion Date: 21 Oct 2004 09:30:12 +0200 Organization: CRS4, Center for Adv. Studies, Research and Development in Sardinia Message-ID: References: <1c2f5137.0410200556.70a1518c@posting.google.com> <35f054ea.0410201051.78cc61a0@posting.google.com> NNTP-Posting-Host: jacob.crs4.it Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pietro.crs4.it 1098338838 16350 156.148.71.80 (21 Oct 2004 06:07:18 GMT) X-Complaints-To: news@nntpserver.crs4.it. NNTP-Posting-Date: 21 Oct 2004 06:07:18 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: g2news1.google.com comp.lang.ada:5562 Date: 2004-10-21T06:07:18+00:00 List-Id: 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."