comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: C++ to Ada95, help please
Date: 24 Mar 1995 16:24:34 -0500
Date: 1995-03-24T16:24:34-05:00	[thread overview]
Message-ID: <3kvdai$kjk@gnat.cs.nyu.edu> (raw)
In-Reply-To: D5w7z1.8n5@ss3.magec.com

Why wasn't pragma Unchecked_Union included in Ada 95?

Really two reasons:

First: it simply wasn't thought of until very recently. Mitch Gart started
a conversation on this issue quite recently, and the suggestion of
pragma Unchecked_Union came out of these discussions. I still wouldn't
regard the design as solid enough to even semi-standardize without more
perusal and experience.

Second: there is a limit on how far it is reasonable to go in the definition
of such language interface details. For one thing, an accurate description of
them depends on the semantics of the other language, so it gets quite tricky.

Third (3 of 2 :-) the Unchecked_Union feature is really rather unpleasant
as a full blown language feature, and putting it in the Ada RM would perhaps
give it TOO much status. There is nothing to stop this being used in Ada
programs quite independently of C (except good taste!)




  parent reply	other threads:[~1995-03-24 21:24 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-03-20  8:06 C++ to Ada95, help please Simon Johnston
1995-03-21 23:27 ` Kevin F. Quinn
1995-03-22  5:07   ` Vladimir Vukicevic
1995-03-22  1:22 ` Tucker Taft
1995-03-22 11:38   ` Robb Nebbe
1995-03-23 12:28   ` Mike Meier
1995-03-23 18:31     ` Tucker Taft
1995-03-24 21:24     ` Robert Dewar [this message]
1995-03-27 14:58       ` Norman H. Cohen
1995-03-23 13:30   ` Robert Dewar
1995-03-23 18:01 ` Stephen A. Leake
1995-03-24  9:07   ` Vladimir Vukicevic
1995-03-25 10:02     ` Keith Thompson
  -- strict thread matches above, loose matches on Subject: below --
1995-03-08  7:54 Simon Johnston
1995-03-08 13:56 ` Robert A Duff
1995-03-09 21:23 ` Tucker Taft
replies disabled

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