[Bug libstdc++/33489] parallel v3: sort assumes that the type of the objects to be sorted have a default constructor
bkoz at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 26 17:27:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list