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-Thread: 103376,f6192967ed7cafa1 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!noris.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Sat, 03 Jan 2009 00:41:22 +0100 From: Georg Bauhaus Reply-To: rm.tsoh-bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: RAII and Ada References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <495ea623$0$31344$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 03 Jan 2009 00:41:23 CET NNTP-Posting-Host: eecb341c.newsspool4.arcor-online.net X-Trace: DXC=Y0]QXYDI1Uij5k5aEF7ISm4IUK Oliver Kowalke wrote: > Is it possible to use the RAII (Resource Acquisition Is Initialization) > pattern in Ada? It seams that destructors like C++ is not available in Ada > (I'm currently learning Ada). RAII in Ada has been adressed before; this thread has many interesting bits: "memory management in Ada: tedious without GC?" http://groups.google.com/group/comp.lang.ada/browse_thread/thread/147f221051e5a63d?