From 4178740324803805464
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,5cc796235bc9d4d8
X-Google-Attributes: gidf78e5,public
X-Google-Thread: fc772,5cc796235bc9d4d8
X-Google-Attributes: gidfc772,public
X-Google-Thread: 109fba,5cc796235bc9d4d8
X-Google-Attributes: gid109fba,public
From: "greg" <dont@spam.me>
Subject: Re: Article on exceptions in January C++ Report
Date: 1998/03/02
Message-ID: <6dcv4g$n70@netlab.cs.rpi.edu>#1/1
X-Deja-AN: 329875493
References: <6cjhbk$ru6@netlab.cs.rpi.edu> <6cre6n$qbd@netlab.cs.rpi.edu> <6cu53k$918@netlab.cs.rpi.edu> <6d78m5$s4u@netlab.cs.rpi.edu>
X-Submission-Address: c++-submit@netlab.cs.rpi.edu
X-Original-Date: 1 Mar 1998 19:39:43 -0500
X-Approved-For-Group: herbs@cntc.com comp.lang.c++.moderated
Organization: SuperNet Inc. +1.303.285.0194 Denver Colorado
X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUANPoXe+EDnX0m9pzZAQHuiAF8D9EHZpbeoslwh2zxuli/VbUPIK9MaLpl mawazcv3x3QvNJadAKjmaAPEWfFnGDsf =+274
Newsgroups: comp.lang.c++.moderated,comp.std.c++,comp.lang.c++


Paul D. DeRocco <pderocco@ix.netcom.com> wrote in article
<6d78m5$s4u@netlab.cs.rpi.edu>...
> greg wrote:
> > 
> >  * swap() has no effects if it throws an exception,
> 
> I think we pretty much proved, in this newsgroup a few months ago, that
> it is impossible to make swap safe for objects whose constructors might
> throw.
..

Sorry, I should have said swapping any of the standard containers will
not throw an exception.

Greg 

      [ Send an empty e-mail to c++-help@netlab.cs.rpi.edu for info ]
      [ about comp.lang.c++.moderated. First time posters: do this! ]
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]



