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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cef1e23795181e0c X-Google-Attributes: gid103376,public From: robert_dewar@my-dejanews.com Subject: Re: Alternate to Unchecked_Conversion - Portable? Date: 1999/02/26 Message-ID: <7b5tv1$rti$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 448662382 References: <36d05e39.0@news.pacifier.com> <36d2638e.6427631@nntp.concentric.net> <7avpi0$jke$1@nnrp1.dejanews.com> <36d3ba85.713118@nntp.concentric.net> <7b2l6s$vu3$1@nnrp1.dejanews.com> <36d50d18.695962@nntp.concentric.net> <7b3glh$ml6$1@nnrp1.dejanews.com> <7b49m5$eet$1@nnrp1.dejanews.com> <36d65c7c.15971534@nntp.concentric.net> <36d64ce3.10597940@news.pacbell.net> X-Http-Proxy: 1.0 x12.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Feb 26 10:44:50 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-02-26T00:00:00+00:00 List-Id: In article <36d64ce3.10597940@news.pacbell.net>, tmoran@bix.com (Tom Moran) wrote: > >Maybe the Unchecked_Conversion of access types has > >wider approval from those who develop language > >standards. There's RM 13.9(13) "An implementation may > >place restrictions on Unchecked_Conversion." to worry > >about, of course. Sure, which is why you have to (a) know what kinds of unchecked conversions you expect to be supported (b) know enough to know what kinds of unchecked conversions are in fact almost certain to be supported in all implementations. Remember that vendors are interested in making your code run, not taking advantage of the RM to ensure that your code does NOT run :-) Also note that there is a big difference between an instantiation of unchecked conversion that is rejected at compile time, and an address overlay that is accepted, but causes mysterious runtime failures, perhaps dependent on subtle optimization effects! -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own