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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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-03 11:22:13 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!news.belwue.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Question about OO programming in Ada Date: Wed, 03 Dec 2003 19:35:09 +0100 Organization: AdaCL Message-ID: <1522082.HppT5vqRXm@linux1.krischik.com> References: <8urxb.19482$sb4.18182@newsread2.news.pas.earthlink.net> <1792884.HtYz4Yv8lY@linux1.krischik.com> <1070297262.361122@master.nyc.kbcfp.com> Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1070479242 02 2555 5wOSGxDOv0yDRUm 031203 19:20:42 X-Complaints-To: usenet-abuse@t-online.de X-ID: ZZXogEZFoe5vCnfi3BAHamKj5DgH2rfFdFEBnQZIliS9Iw8kfvGFYP User-Agent: KNode/0.7.2 Xref: archiver1.google.com comp.lang.ada:3109 Date: 2003-12-03T19:35:09+01:00 List-Id: Hyman Rosen wrote: > 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). The OP spoke about that all unsafe operation are marked Unchecked_ and this is what i was refairing to. With Regards Martin -- mailto://krischik@users.sourceforge.net http://adacl.sourceforge.net