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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,56131a5c3acc678e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-01 08:47:43 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newspeer.monmouth.com!nntp.abs.net!ash.uu.net!spool.news.uu.net!not-for-mail Date: Mon, 01 Dec 2003 11:47:42 -0500 From: Hyman Rosen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Question about OO programming in Ada References: <8urxb.19482$sb4.18182@newsread2.news.pas.earthlink.net> <1792884.HtYz4Yv8lY@linux1.krischik.com> In-Reply-To: <1792884.HtYz4Yv8lY@linux1.krischik.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Organization: KBC Financial Products Message-ID: <1070297262.361122@master.nyc.kbcfp.com> Cache-Post-Path: master.nyc.kbcfp.com!unknown@nightcrawler.nyc.kbcfp.com X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) NNTP-Posting-Host: 204.253.250.10 X-Trace: 1070297262 18755 204.253.250.10 Xref: archiver1.google.com comp.lang.ada:3055 Date: 2003-12-01T11:47:42-05:00 List-Id: Martin Krischik wrote: > How will you do this without using some form of "Unchecked_"? Why am I limited to not using Unchecked_Deallocation? This is merely the operation known to C programmers as "free" and to C++ programmers as "delete". It's used for dealing with dynamic memory structures, with parts whose lifetime is controlled explicitly by the program. That's hardly a novel or infrequently used feature of the language. I expect that C and C++ programs that don't use free and delete don't have many dangling references either (although they can screw up in more ways than Ada can).