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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,80bc3e0698be468f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!proxad.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Newsgroups: comp.lang.ada Subject: Re: Type safety on wikipedia From: Georg Bauhaus In-Reply-To: <43DA0083.9090702@mailinator.com> References: <1138260496.230283.147640@g43g2000cwa.googlegroups.com> <43D8B95E.80001@mailinator.com> <43DA0083.9090702@mailinator.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: # Message-ID: <1138365783.9551.1.camel@sonnenregen> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Date: Fri, 27 Jan 2006 13:43:04 +0100 NNTP-Posting-Date: 27 Jan 2006 13:37:45 MET NNTP-Posting-Host: b2b9e12e.newsread4.arcor-online.net X-Trace: DXC=o=F9Y5MEY]Kndh];1CKbgL:ejgIfPPldDjW\KbG]kaMHA@_25la3nbBZVc;]foh6LFhP3YJKgE\jL1M0ofnKnfQG>ZF;m4];Q0H X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:2677 Date: 2006-01-27T13:37:45+01:00 List-Id: On Fri, 2006-01-27 at 12:14 +0100, Alex R. Mosteo wrote: > > The Unchecked_Deallocation has to be instantiated for a specific type. > > Is there a way of using it that isn't type safe? (Surely it isn't the > > type that's "Unchecked" ?) > > If I've understood things correctly, the problem isn't that UD is typed, > but that once you start manipulating heap pointers by hand, you're out > of the game (due to dangling pointers and so). I have added a sentence on the effects of pragma Pure to the Ada section of the article. (No named access types.) -- Georg