From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26128 invoked by alias); 26 Sep 2007 17:27:22 -0000 Received: (qmail 26070 invoked by uid 48); 26 Sep 2007 17:27:10 -0000 Date: Wed, 26 Sep 2007 17:27:00 -0000 Message-ID: <20070926172710.26069.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/33489] parallel v3: sort assumes that the type of the objects to be sorted have a default constructor In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "bkoz at gcc dot gnu dot org" 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: 2007-09/txt/msg02167.txt.bz2 ------- Comment #3 from bkoz at gcc dot gnu dot org 2007-09-26 17:27 ------- OK. Now there are tests for all of algorithms for defaultconstructable. As per 20.1, this is not required for template arguments unless the standard explicitly notes it. http://gcc.gnu.org/ml/gcc-patches/2007-09/msg01921.html >>From this, we can see that the following parallel algorithms have issues with this: merge nth_element partial_sort random_shuffle set_difference set_intersection set_symmetric_difference set_union sort stable_sort partial_sum -benjamin -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33489