From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Two ideas for the next Ada Standard
Date: 1996/09/08
Date: 1996-09-08T00:00:00+00:00 [thread overview]
Message-ID: <DxFLzq.C3s@world.std.com> (raw)
In-Reply-To: JSA.96Sep7202332@alexandria
In article <JSA.96Sep7202332@alexandria>, Jon S Anthony <jsa@alexandria> wrote:
>In article <323153E7.2CDA@joy.ericsson.se> Jonas Nygren <jonas@joy.ericsson.se> writes:
...
>But, as long as this particular case was used, I actually have a question
>for Bob (if he is reading this...) Why didn't the generic signature for
>System.Address_To_Access_Conversions include the access type?
It probably should have been. It was discussed, and I think the design
team basicall said, yeah, we know that it's usually best to pass in the
access type, to avoid unnecessary conversions, but in this case, you're
doing low-level hacking anyway, so a few extra conversions won't hurt.
>> One solution to this could be to provide an 'anonymous general
>> access-to-variable type', RM6.1(24), for variables to and not only
>> for subprogram formals and discriminants. Perhaps one could use a
>> syntax similar to T'Class and have T'Access denoting this new
>> subtype. With this syntax we could have the example from above:
>
>I _think_ Bob Duff would agree with you, ...
Yes.
>... but I still don't see this
>as a problem so would not agree with it. In fact, I see the current
>situation of not having this as a _good_ thing not just a "shrug".
The examples we're discussing are not a real problem, because you can
avoid the conversions by simply using the same type, and pass it around
to generics. But when you use a lot of access-to-class-wide types, it
*is* a problem, because you *have* to declare a bunch of different
access types. Conversions in the upward direction are a real pain,
IMHO.
- Bob
next prev parent reply other threads:[~1996-09-08 0:00 UTC|newest]
Thread overview: 98+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-08-31 0:00 Re:Two ideas for the next Ada Standard dulman
1996-09-01 0:00 ` Two " Robert Dewar
1996-09-01 0:00 ` Robert Dewar
1996-09-03 0:00 ` Jon S Anthony
1996-09-04 0:00 ` David Weller
1996-09-04 0:00 ` Joel VanLaven
1996-09-03 0:00 ` Jonas Nygren
1996-09-03 0:00 ` Richard A. O'Keefe
1996-09-03 0:00 ` Robert A Duff
1996-09-03 0:00 ` Adam Beneschan
1996-09-03 0:00 ` Dale Stanbrough
1996-09-04 0:00 ` Two " Richard A. O'Keefe
1996-09-04 0:00 ` Robert Dewar
1996-09-04 0:00 ` Richard A. O'Keefe
1996-09-05 0:00 ` Robert Dewar
1996-09-06 0:00 ` Richard A. O'Keefe
1996-09-05 0:00 ` Robert A Duff
1996-09-06 0:00 ` Richard A. O'Keefe
1996-09-06 0:00 ` Robert A Duff
1996-09-06 0:00 ` Robert Dewar
1996-09-10 0:00 ` Richard A. O'Keefe
1996-09-10 0:00 ` Robert Dewar
1996-09-10 0:00 ` Mark A Biggar
1996-09-03 0:00 ` Jonas Nygren
1996-09-03 0:00 ` Robert A Duff
1996-09-04 0:00 ` Robert Dewar
1996-09-04 0:00 ` Richard A. O'Keefe
1996-09-10 0:00 ` Robert I. Eachus
1996-09-03 0:00 ` Peter Hermann
1996-09-04 0:00 ` Robert Dewar
1996-09-04 0:00 ` Larry Kilgallen
1996-09-04 0:00 ` Robert Dewar
1996-09-04 0:00 ` Robert Dewar
1996-09-03 0:00 ` Larry Kilgallen
1996-09-04 0:00 ` Jon S Anthony
1996-09-05 0:00 ` Robert A Duff
1996-09-05 0:00 ` Mark A Biggar
1996-09-04 0:00 ` Jon S Anthony
1996-09-04 0:00 ` Robert A Duff
1996-09-04 0:00 ` Jonas Nygren
1996-09-06 0:00 ` Tucker Taft
1996-09-08 0:00 ` Jon S Anthony
1996-09-08 0:00 ` Robert Dewar
1996-09-09 0:00 ` John G. Volan
1996-09-09 0:00 ` Jon S Anthony
1996-09-05 0:00 ` Robert I. Eachus
1996-09-06 0:00 ` Jon S Anthony
1996-09-07 0:00 ` Jonas Nygren
1996-09-08 0:00 ` Jon S Anthony
1996-09-08 0:00 ` Jon S Anthony
1996-09-08 0:00 ` Robert A Duff [this message]
1996-09-05 0:00 ` Jon S Anthony
1996-09-06 0:00 ` Jon S Anthony
1996-09-06 0:00 ` Jon S Anthony
1996-09-10 0:00 ` Samuel Tardieu
1996-09-10 0:00 ` Norman H. Cohen
1996-09-11 0:00 ` Jon S Anthony
-- strict thread matches above, loose matches on Subject: below --
1996-09-06 0:00 Marin David Condic, 407.796.8997, M/S 731-93
1996-09-04 0:00 Marin David Condic, 407.796.8997, M/S 731-93
1996-09-06 0:00 ` Jon S Anthony
1996-09-04 0:00 Bob Mathis
1996-08-28 0:00 Two ideas for the next Ada standard Van Snyder
1996-08-29 0:00 ` Dale Stanbrough
1996-08-30 0:00 ` Robert A Duff
1996-08-30 0:00 ` Adam Beneschan
1996-08-31 0:00 ` Robert A Duff
1996-08-31 0:00 ` Robert Dewar
1996-09-04 0:00 ` Dennison
1996-09-05 0:00 ` Robert Dewar
1996-09-05 0:00 ` Dennison
1996-09-06 0:00 ` Robert Dewar
1996-09-07 0:00 ` Dennison
1996-09-07 0:00 ` Robert Dewar
1996-09-06 0:00 ` Norman H. Cohen
1996-09-06 0:00 ` Robert A Duff
1996-09-06 0:00 ` Robert Dewar
1996-09-09 0:00 ` Norman H. Cohen
1996-09-06 0:00 ` Robert Dewar
1996-09-07 0:00 ` Keith Thompson
1996-09-12 0:00 ` Robert Dewar
1996-09-02 0:00 ` Geert Bosch
1996-09-02 0:00 ` Robert A Duff
1996-08-30 0:00 ` Peter Hermann
1996-08-30 0:00 ` Michael F Brenner
1996-08-30 0:00 ` Robert A Duff
1996-08-30 0:00 ` Robert Dewar
1996-08-31 0:00 ` Robert A Duff
1996-08-31 0:00 ` Robert Dewar
1996-09-01 0:00 ` Robert A Duff
1996-08-31 0:00 ` Robert Dewar
1996-09-01 0:00 ` Robert A Duff
1996-09-02 0:00 ` Laurent Guerby
1996-09-02 0:00 ` Robert Dewar
1996-09-03 0:00 ` Laurent Guerby
1996-09-03 0:00 ` Robert Dewar
1996-09-04 0:00 ` Adam Beneschan
1996-09-03 0:00 ` Laurent Guerby
1996-09-03 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox