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,effb80d4bb7716dd X-Google-Attributes: gid103376,public From: robert_dewar@my-dejanews.com Subject: Re: Wanted: Ada STL. Reward: Ada's Future Date: 1999/02/03 Message-ID: <798dv4$d7m$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 440012164 References: <790f4q$3l@bgtnsc01.worldnet.att.net> <79817u$kqr@dfw-ixnews11.ix.netcom.com> X-Http-Proxy: 1.0 x10.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: Wed Feb 03 02:57:44 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-02-03T00:00:00+00:00 List-Id: In article <79817u$kqr@dfw-ixnews11.ix.netcom.com>, Richard D Riehle wrote: > But don't do this on the software that flies the > airplane on which I am flying. Please don't make statements like this. It encourages idiotic rules like "unchecked conversion is forbidden", which all too often force people to do the equivalent operation in C. There is absolutely no reason why pointer arithmetic as Richard describes it should not be used in safety critical code if it is the right thing to do. For example, safety critical code, if it allows allocation at all, probably requires that the allocator be written in Ada by the user. Pointer arithmetic here is perfectly legitimate, and indeed almost unavoidable. Robert Dewar -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own