Re: Re: test for lib.alg.sort

2006-02-01 Thread Anton Pevtsov
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

RE: Problem building on Solaris

2006-02-01 Thread Jeremy Dean
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

Re: Problem building on Solaris

2006-02-01 Thread Martin Sebor
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

[jira] Commented: (STDCXX-131) SIGSEGV in std::stable_partition() due to double destruction

2006-02-01 Thread Martin Sebor (JIRA)
[ 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

[jira] Created: (STDCXX-131) SIGSEGV in std::stable_partition() due to double destruction

2006-02-01 Thread Martin Sebor (JIRA)
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

Re: test for lib.alg.partitions

2006-02-01 Thread Martin Sebor
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