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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,72137304956d9360 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-24 11:14:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: generic imports? void* -> generics? Date: Wed, 24 Sep 2003 13:16:21 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:42861 Date: 2003-09-24T13:16:21-05:00 List-Id: "Simon Wright" wrote in message news:x7vvfrjuu5e.fsf@smaug.pushface.org... > "Randy Brukardt" writes: > > It's best if the abstraction can withstand extra calls to Initialize > > and Adjust; it has to withstand extra calls to Finalize (as they can > > happen in abort situations). > > I can see the Initialize -- not so sure how you could tell about extra > Adjusts? Humm, I think you're right; you can't really protect against extra Adjusts. And they are the least likely to happen by accident (I think they can happen only by an explicit call or compiler bug), so they're the least important to protect. Randy.