554db2f07d
Merge pull request #35 from very-cool-name/apolukhin/constexpr
...
Apolukhin/constexpr
2017-08-29 09:07:59 -07:00
8ae18ae455
Conditionally replace deprecated c++98 features by c++11 ones
...
change std::random_shuffle -> std::shuffle + random_engine if indicated by the supported language level or Boost configuration macro.
Signed-off-by: Daniela Engert <dani@ngrt.de >
2017-07-20 16:33:17 +02:00
f14719c3a9
Replace an assert in a test with BOOST_CHECK
2017-06-28 10:04:25 -07:00
6bd8bc197a
use boost::algorithm::iota in the tests instead of std::iota, which requires C++11
2017-06-28 07:58:21 -07:00
334737eebe
Implement the C++17 new algorithms
2017-06-27 16:43:17 -07:00
000040b3d9
binary_function is removed from equal and unary_function removed from tests.
2017-06-19 19:03:00 +03:00
d6b7f3da90
Use boost::begin/end instead of macros
2017-05-03 22:38:21 -07:00
0e62dfb92e
Merge pull request #33 from ZaMaZaN4iK/feature_branch/is_partitioned_until
...
is_partitioned_until support
2017-05-03 18:15:09 -07:00
968d30e9e3
Merge branch 'develop' into apolukhin/constexpr
2017-04-10 12:16:38 +03:00
dfa332e915
Updated constexpr tests for all affected modules. Added conditional constexpr to equal, which uses std::distance.
2017-04-07 22:31:23 +03:00
383e800df9
Added examples, tests, doc
2017-02-14 15:59:07 +03:00
9b19fc00c2
use std::shuffle instead of random_shuffle in C++11 and later
2016-11-20 17:24:19 -08:00
7977bd0cdc
Remove all mentions of (unary|binary)_function; not needed and they have been removed for C++17
2016-11-20 17:02:49 -08:00
b3dabe10e4
Add missing error_info include
2016-08-17 13:54:58 -07:00
f1e9d3140c
Made is_palindrome work for C++03
2016-08-17 13:49:16 -07:00
ff79a9c2db
Updated tests
2016-08-16 16:22:01 +03:00
3c25ce1090
Added C-String support for 'is_palindrome'
...
Updated doc, example and tests.
2016-08-16 05:14:56 +03:00
093900a8f3
[micro] Replaced constructor of singleElement
...
Replaced bracket initializes constructor to simply constructor with two arguments in std::vector
2016-07-11 18:25:04 +03:00
366274ff0a
Added new tests to is_palindrome_test
...
Added evenNonPalindrome and oddPalindrome tests.
2016-07-06 22:56:02 +03:00
1ec1cd3045
Fixed is_palindrome_test
2016-07-06 11:57:05 +03:00
9bee197bd8
Added all files to the new repository
2016-07-06 11:42:18 +03:00
3cedd051fa
Test coverage for algorithm::hex_lower, adapting existing coverage for algorithm::hex
2016-03-08 09:47:52 +10:00
205f5ff4bb
Update searchers to return a pair of iterators
2016-02-15 22:23:58 -08:00
8d095e9d30
Added constexpr modifiers for C++14 mode and some tests
2016-01-25 13:11:01 +03:00
1a79438687
New algorithm 'partition_subrange'. Name not 100% final, bue we've got tests. No docs yet.
2015-10-01 11:59:31 -07:00
7a2ae62f22
Added new algorithm 'sort_subrange' from Sean Parent's CppCon keynote. Docs to come
2015-09-28 10:28:05 -07:00
3acaddd044
Add missing include for std::multiplies and std::plus
2015-05-17 19:59:08 +02:00
d4734356e9
Added more general power functionality as requested by Sean Parent. Also added enable_if to make sure the exponent is an integral type.
2014-12-03 15:15:15 -08:00
0c3f9a38f4
Add new algorithm boost::power, which raises a number to an integer power
2014-12-02 14:38:25 -08:00
0a55238652
Removed some debugging code from the test
2014-09-24 10:33:46 -07:00
b9d91c59e4
Add missing ::type in the range-based partition_point implementation. Add test for this call - since there was none before. Thanks to Wygos for the fix.
2014-06-18 19:16:34 +02:00
0f63883818
Rework the file layout and implementation of 'is_permutation' to match the various versions of the C++ standard. In particular, move the four iterator versions into the cxx14/ directory.
2014-03-23 14:56:48 -07:00
bc3b806f56
Fixed some file perms that got munged in the git conversion.
2014-02-04 08:13:44 -08:00
617ec03937
Updated license and copyright
...
[SVN r86311]
2013-10-14 21:35:20 +00:00
4c3b17ce77
Remove tabs
...
[SVN r86310]
2013-10-14 21:31:19 +00:00
fe51eb60a9
Rewrote iota_n to use pre-increment instead of post - now the same as iota. Added a test for 0 as well.
...
[SVN r85465]
2013-08-25 16:29:01 +00:00
4f269a270c
Fix error in compile-fail test; now fails to compile for the right reason
...
[SVN r84824]
2013-06-18 14:46:32 +00:00
b9d89c559b
Better 'is_permutation' implementation, tests
...
[SVN r84389]
2013-05-20 15:37:50 +00:00
a4b907197e
Add C++14 extensions to 'equal' and 'mismatch'
...
[SVN r84206]
2013-05-09 17:22:46 +00:00
ef16153353
Gather does not (in general) work with forward iterators, even though it does on some systems
...
[SVN r83158]
2013-02-25 22:31:52 +00:00
5f45246c6c
Changed the return type for boost::algorithm::copy_while and copy_until to return a pair<InputIterator, OutputIterator> instead of just an OutputIterator
...
[SVN r83064]
2013-02-21 16:18:51 +00:00
a451b260a3
Added #include <ctime> to fix tests on gcc 4.7
...
[SVN r83063]
2013-02-21 15:43:23 +00:00
efd5d23bb9
Remove dummy test erroneously left in previous checkin
...
[SVN r82786]
2013-02-08 17:23:16 +00:00
f65d36aca7
Updated Boost.Algorithm tests to use non-deprecated test framework
...
[SVN r82785]
2013-02-08 17:21:43 +00:00
4ca6b10441
Add new algorithm 'gather'
...
[SVN r82584]
2013-01-22 00:44:53 +00:00
771375973f
Fix many typos in the comments and documentation; no functionality change. Thanks to Michael Morin for the patch
...
[SVN r82239]
2012-12-28 17:51:56 +00:00
54d2649b8c
Move string_ref to Boost.Utility; first crack at docs
...
[SVN r81972]
2012-12-15 16:38:07 +00:00
922afd98c4
Kill some signed v unsigned warnings in the string_ref tests.
...
[SVN r81970]
2012-12-15 16:14:21 +00:00
06d0a61a01
When you add a test, you should actually call it.
...
[SVN r81904]
2012-12-13 17:33:14 +00:00
5bb66c562b
Still more tests for string_ref
...
[SVN r81903]
2012-12-13 17:22:23 +00:00