The attached file contains tests for the lib.alg.sort,
lib.alg.stable_sort, lib.alg.partitial_sort and
lib.alg.partitial_sort_copy algorithms.
Here I check the algotithms correctness using the hardcoded sequences
and verify the complexity using the random-generated sequences.
The upper estimated
After rebuilding with these macros, everything seems to go fine, the library
builds ok. Now we are getting strange errors with the examples: alg4.cpp
It is failing on line 156 of include/set
The error is unable to instantiate from non templated
Unfortunately this is from a secure site, so
Jeremy Dean wrote:
After rebuilding with these macros, everything seems to go fine, the library
builds ok. Now we are getting strange errors with the examples: alg4.cpp
It is failing on line 156 of include/set
The error is unable to instantiate from non templated
Unfortunately this is
[
http://issues.apache.org/jira/browse/STDCXX-131?page=comments#action_12364912 ]
Martin Sebor commented on STDCXX-131:
-
Here's a small test case:
$ cat t.cpp make t ./t || /usr/local/gdb-6.3/bin/gdb -q t core
#include algorithm
#include cassert
SIGSEGV in std::stable_partition() due to double destruction
Key: STDCXX-131
URL: http://issues.apache.org/jira/browse/STDCXX-131
Project: C++ Standard Library
Type: Bug
Components: 25. Algorithms
Anton Pevtsov wrote:
[..]
The attached file 25.partitions.cpp contains the updated test version. I
hardcoded test sequences and eliminated one predicate.
Thanks for changing it. The test looks very good! I committed it here:
http://svn.apache.org/viewcvs.cgi?rev=374225view=rev but we will need