From: tmoran@acm.org
Subject: Re: Why does this work? (overloads)
Date: Thu, 08 Feb 2007 19:27:06 -0600
Date: 2007-02-08T19:27:06-06:00 [thread overview]
Message-ID: <laGdnXe_x8Z3UFbYnZ2dnUVZ_oipnZ2d@comcast.com> (raw)
In-Reply-To: 1170931228.165961.8170@m58g2000cwm.googlegroups.com
> > to make Pascal let me have it both ways by declaring both types, one
> > type indexed 0..NN-1 and the other 1..NN, and then I set a pointer of
> > one type to an array originally declared with another type. I'm
> > guessing that Ada doesn't allow this, however.
You can convert an access to one thing to an access to another using
Unchecked_Conversion. You can also declare A, then declare B and
for B'address use A'address.
prev parent reply other threads:[~2007-02-09 1:27 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-07 4:39 Why does this work? (overloads) Jerry
2007-02-07 6:45 ` AW: " Grein, Christoph (Fa. ESG)
2007-02-07 7:07 ` Jerry
2007-02-07 7:26 ` AW: " Grein, Christoph (Fa. ESG)
2007-02-07 20:43 ` Jerry
2007-02-07 19:09 ` AW: " Jeffrey R. Carter
2007-02-07 21:13 ` Jerry
2007-02-07 21:33 ` Ludovic Brenta
2007-02-07 21:36 ` Randy Brukardt
2007-02-07 19:02 ` Jeffrey R. Carter
2007-02-07 19:21 ` Adam Beneschan
2007-02-07 19:25 ` Adam Beneschan
2007-02-08 0:51 ` Jeffrey R. Carter
2007-02-07 23:12 ` Robert A Duff
2007-02-08 0:49 ` Jeffrey R. Carter
2007-02-07 20:53 ` Jerry
2007-02-08 0:53 ` Jeffrey R. Carter
2007-02-08 10:40 ` Jerry
2007-02-08 11:34 ` Georg Bauhaus
2007-02-08 12:05 ` AW: " Grein, Christoph (Fa. ESG)
2007-02-08 18:52 ` Jeffrey R. Carter
2007-02-09 0:56 ` Jerry
2007-02-09 1:27 ` tmoran [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox