From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29382 invoked by alias); 17 Dec 2009 09:58:38 -0000 Received: (qmail 29332 invoked by uid 48); 17 Dec 2009 09:58:21 -0000 Date: Thu, 17 Dec 2009 09:58:00 -0000 Message-ID: <20091217095821.29331.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/21772] exception safety testing In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paolo dot carlini at oracle dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg01675.txt.bz2 ------- Comment #16 from paolo dot carlini at oracle dot com 2009-12-17 09:58 ------- The std::array error seems indeed bogus: if I'm not wrong, it happens when swapping arrays, and there are no guarantees that the operation doesn't throw for std::array, because it's requires to just swap the ranges, thus copy construct and copy assign each array element. Another thing I noticed, about basic_string, something seems inappropriate for it in the framework, since the value_type must be a POD! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21772