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,1888e8caa20a2f2d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news4.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: "Jeffrey R. Carter" Organization: jrcarter at acm dot org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Controlled types and exception safety References: <4opjf.151627$dP1.509433@newsc.telia.net> In-Reply-To: <4opjf.151627$dP1.509433@newsc.telia.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <6Qvjf.3059$Hk1.2021@newsread1.news.pas.earthlink.net> Date: Thu, 01 Dec 2005 05:26:26 GMT NNTP-Posting-Host: 67.3.217.119 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.news.pas.earthlink.net 1133414786 67.3.217.119 (Wed, 30 Nov 2005 21:26:26 PST) NNTP-Posting-Date: Wed, 30 Nov 2005 21:26:26 PST Xref: g2news1.google.com comp.lang.ada:6703 Date: 2005-12-01T05:26:26+00:00 List-Id: Bj�rn Persson wrote: > Can't Maciej's concerns be applied to step 6? What to do about > exceptions that happen while the new X is being adjusted, after the old > X has been finalized? You can get Storage_Error if Adjust allocates storage. Other sorts of exceptions should have occurred during the adjustment of the intermediate object, and so corrected before the assignment to X. Storage_Error is a strange beast; there's no guarantee that you can do anything about it. There may not even be enough storage available to execute an exception handler. -- Jeff Carter "Crucifixion's a doddle." Monty Python's Life of Brian 82