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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8acd4291c317f897 X-Google-Attributes: gid103376,public X-Google-Thread: 109fba,8acd4291c317f897 X-Google-Attributes: gid109fba,public From: Hyman Rosen Subject: Re: Safety of the Booch Ada 95 Components Date: 1999/12/10 Message-ID: #1/1 X-Deja-AN: 559044473 Sender: hymie@calumny.jyacc.com References: <1e2lds4.7trgj21rgj9i0N%herwin@gmu.edu> <38512921_3@news1.prserv.net> X-Complaints-To: abuse@panix.com X-Trace: news.panix.com 944844096 22032 209.49.126.226 (10 Dec 1999 16:41:36 GMT) Organization: PANIX Public Access Internet and UNIX, NYC NNTP-Posting-Date: 10 Dec 1999 16:41:36 GMT Newsgroups: comp.lang.ada,comp.lang.c++ Date: 1999-12-10T16:41:36+00:00 List-Id: "Matthew Heaney" writes: > I don't understand your comment about not being "exception-safe." > Perhaps you could elaborate on that point. In C++, class objects are copied through a class method called the copy-constructor, to allow for resource control. If an exception is thrown during copy-construction of one of the elements, it's possible that the target data structure may be left in an invalid state.