100 Commits
Author SHA1 Message Date
Marshall Clow faac048d59 Merge pull request #116 from jiayuehua/develop
fix range-base gather algorithm
2023-06-14 09:23:41 -07:00
Marshall Clow 3fe40eb999 Merge pull request #21 from MarcelRaad/fix_tests
Fix MSVC warnings in tests
2023-01-01 09:52:45 -08:00
Marshall Clow 7d8a063d35 Merge pull request #110 from Morwenn/patch-1
Fix links to The Old New Thing
2022-11-07 08:28:29 -08:00
Marshall Clow 6f4d74c6bb Merge pull request #108 from denzor200/denzor200-patch-1
Add forgotten `inline` for `is_palindrome`
2022-10-12 07:39:41 -07:00
Marshall Clow 6a5ca4e89c Merge pull request #107 from fanquake/use_core_enable_if
refactor: use core/enable_if over utility/enable_if
2022-08-30 21:47:33 -07:00
Marshall Clow 6931736390 Fix broken doc build; create new section 2022-07-01 12:43:47 -07:00
Marshall Clow 12ade334e0 Merge pull request #100 from jgopel/copy-if-while
Implement copy_if_while and copy_if_until
2022-06-28 17:46:45 -07:00
Marshall Clow 055ebaa4cd Merge pull request #56 from jeking3/ci
Enhance CI, add license and readme, and fix some issues
2022-06-23 21:14:22 -07:00
Marshall Clow 00c6f1d6c1 Merge pull request #103 from jgopel/transform-inclusive-scan-docs
Add documentation to transform_inclusive_scan and transform_exclusive_scan
2022-06-05 16:48:19 -07:00
Marshall Clow da8ea581eb Merge pull request #88 from apolukhin/antoshkka/deprecated-copy-warnings
Fix -Wdeprecated-copy warnings in string algorithms
2021-12-23 11:36:00 -08:00
Marshall Clow 2a05506d52 Merge pull request #86 from libbooze/add_is_clamped_to_boost_algorithm
Add is_clamped.hpp, is_clamped_test.cpp
2021-09-25 12:25:08 -07:00
Marshall Clow c5f6f52560 Remove dependency on boost::mpl from 'clamp' and 'is_sorted' 2021-08-29 16:19:52 -07:00
Marshall Clow bcd55d9992 Merge pull request #80 from gcerretani/patch-1
String Usage doc typo
2021-03-03 18:18:24 -08:00
Marshall Clow b139b72230 Merge pull request #84 from eldiener/develop
[skip ci] Add "cxxstd" json field
2021-01-18 18:26:35 -08:00
Marshall Clow bd81ca42a2 Merge pull request #82 from eldiener/develop
Remove erroneous inclusion of C++11 type_traits header file.
2020-11-18 09:56:38 -08:00
Marshall Clow 8c26a50a12 Fix incorrect include guards (copypasta). Thanks to Anton Vasin (tony-space) for the bug report and fix 2020-11-12 08:32:46 -08:00
Marshall Clow 1e098f39d4 Merge pull request #77 from vgvassilev/patch-2
Add missing include
2020-07-18 06:47:16 -07:00
Marshall Clow e4c3628f4d Merge pull request #75 from vgvassilev/patch-1
Add missing includes
2020-07-18 06:44:49 -07:00
Marshall Clow 1634b819b3 Merge pull request #74 from vgvassilev/patch-1
Add missing include
2020-07-16 18:21:46 -07:00
Marshall Clow 130e4da8cb Remove empty loop bodies to prevent clang 'extra-semi-stmt warnings'. Thanks to Eugene for the heads-up 2020-05-28 22:05:47 -07:00
Marshall Clow 7975c764bb Merge pull request #72 from Lastique/remove_iterator_hpp2
Remove a few leftover uses of boost/detail/iterator.hpp
2020-05-11 08:44:40 -07:00
Marshall Clow cfb7c429f7 Merge pull request #71 from Lastique/remove_iterator_hpp
Avoid using deprecated header boost/detail/iterator.hpp
2020-05-11 08:17:52 -07:00
Marshall Clow 6d86fb3aaa Change include of boost/bind.hpp -> boost/bind/bind.hpp. Thanks to Andrey for the suggested patch 2020-04-28 12:41:10 -07:00
Marshall Clow ce81930319 Merge pull request #69 from eldiener/develop
Changes for Embarcadero C++ clang-based compilers, targeting Boost 1.74. Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost conf…
2020-04-12 09:49:45 -07:00
Marshall Clow a814721376 Apply PR#57 from tonyelewis to improve the docs. Thanks, Tony\! 2019-12-03 08:39:34 -08:00
Marshall Clow 9ef3df0d0b Update header files to always include boost/config.hpp. Fixes issue #61 2019-12-03 08:33:05 -08:00
Marshall Clow 9093abbda9 Update examples so that they build 2019-11-27 10:58:37 -08:00
Marshall Clow 77bbc6ce43 Merge pull request #49 from Ben10do/feature/forwarding-references
Use forwarding references in string/split.hpp
2019-07-03 07:54:40 -07:00
Marshall Clow 0a57ec30a2 Update the apply_permutation tests to use the BOOST_CHECK_EQUAL_COLLECTIONS facilities. Based on https://github.com/boostorg/algorithm/pull/42 Thanks to Jeremy for the patch 2019-07-03 07:44:25 -07:00
Marshall Clow 9477cd8be0 Merge pull request #59 from tinko92/develop
Replace broken links (mostly in minmax) documentation
2019-04-29 11:58:43 -04:00
Marshall Clow 1cbe285841 Fix bug in is_sorted docs; thanks to Tony E for the report: https://github.com/boostorg/algorithm/issues/54 2018-11-01 17:45:41 -07:00
Marshall Clow b6c04d6dc5 Make apply_permutation work for C++03. Thanks to @jeking3 for the report. 2018-10-30 15:23:29 -07:00
Marshall Clow bf2b49e57e Merge pull request #51 from jeking3/fix-colon
fix extraneous colon in test jamfile causing a build warning.
2018-10-30 09:40:12 -07:00
Marshall Clow 6763d75683 Merge pull request #50 from tzlaine/develop
Fix sloppy find_not() and find_*backward() code examples.
2018-10-02 15:36:56 -07:00
Marshall Clow e4dfe0885f Fix broken link to license file in header comment. NFC 2018-07-30 13:07:36 -07:00
Marshall Clow 3659b18846 Add newlines at the end of the fuzzing files 2018-07-04 11:26:52 -07:00
Marshall Clow 6bb5fa5ee0 Remove 'wrappers' 2018-07-04 11:24:01 -07:00
Marshall Clow ee7a0247be Merge pull request #48 from tzlaine/develop
Add Travis and Appveyor CI config files.
2018-05-31 10:05:29 -07:00
Marshall Clow ecb8bfab76 Merge pull request #47 from tzlaine/develop
Add find() variants.
2018-05-18 07:37:36 -07:00
Marshall Clow ea7d35d949 Added some comments 2018-05-13 17:24:36 -07:00
Marshall Clow 7ec1c5c413 Remove too-simple test, add tests for the variants of minmax_element 2018-05-02 11:41:16 -07:00
Marshall Clow d574d1edd7 Fuzzing targets for minmax 2018-05-01 19:10:47 -07:00
Marshall Clow 3af7acabc7 fix constexpr-ness of a couple of algorithhms - and tests. Based on Pull Request #44 by Flast - thanks! 2018-04-04 11:18:38 -07:00
Marshall Clow 509201f29f Merge pull request #46 from DanielaE/fix/missing-constexpr
functions used in constexpr context must be marked 'constexpr'
2018-03-25 13:01:44 -07:00
Marshall Clow df58b44581 Merge pull request #45 from samuela/patch-1
docstring fixes - Thanks!
2018-03-20 19:05:03 -07:00
Marshall Clow 739d1ed8a2 Merge pull request #43 from jeremy-murphy/C++14_constexpr
Add BOOST_CXX14_CONSTEXPR to identity_operation.
2018-02-05 07:09:53 -08:00
Marshall Clow 63c85e7c5e Qualify calls to Boost.Algorithm algs that have the same name as ones in the standard; prevents ADL ambiguities. Thanks to Billy O'Neill for the heads up. 2018-01-10 10:26:21 -08:00
Marshall Clow cb52d61054 Merge pull request #39 from ZaMaZaN4iK/feature_branch/apply_permutation
Apply_permutation
2017-11-01 12:57:31 -07:00
Marshall Clow 4ac6b84cfa Merge pull request #41 from DanielaE/fix/typo-in-test
Copy-and-paste error ...
2017-10-08 07:38:32 -07:00
Marshall Clow 554db2f07d Merge pull request #35 from very-cool-name/apolukhin/constexpr
Apolukhin/constexpr
2017-08-29 09:07:59 -07:00
Marshall Clow f9583cfd39 Merge pull request #36 from DanielaE/feature/replace-deprecated
Conditionally replace deprecated c++98 features by c++11 ones
2017-08-29 07:41:02 -07:00
Marshall Clow f14719c3a9 Replace an assert in a test with BOOST_CHECK 2017-06-28 10:04:25 -07:00
Marshall Clow 6bd8bc197a use boost::algorithm::iota in the tests instead of std::iota, which requires C++11 2017-06-28 07:58:21 -07:00
Marshall Clow 334737eebe Implement the C++17 new algorithms 2017-06-27 16:43:17 -07:00
Marshall Clow d6b7f3da90 Use boost::begin/end instead of macros 2017-05-03 22:38:21 -07:00
Marshall Clow 0e62dfb92e Merge pull request #33 from ZaMaZaN4iK/feature_branch/is_partitioned_until
is_partitioned_until support
2017-05-03 18:15:09 -07:00
Marshall Clow f250014931 Merge pull request #38 from DanielaE/fix/narrowing
fix narrowing conversions
2017-05-03 18:14:28 -07:00
Marshall Clow 17d4f70e97 Merge pull request #32 from jhunold/extra_semi
Remove trailing ";" - thanks!
2017-01-06 18:19:59 -08:00
Marshall Clow 037fe4e33d Merge pull request #31 from danieljames/fix-algorithm-location
Build the algorithm documentation standalone.
2016-12-13 19:30:52 -08:00
Marshall Clow e442420d49 Change name of (another) parameter; fixes 'shadowing' warning (Trac #12623) 2016-11-25 20:50:53 -08:00
Marshall Clow 42db8a4403 Change name of parameter; fixes 'shadowing' warning (Trac #12623) 2016-11-25 08:11:01 -08:00
Marshall Clow 9b19fc00c2 use std::shuffle instead of random_shuffle in C++11 and later 2016-11-20 17:24:19 -08:00
Marshall Clow 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
Marshall Clow efd7a8b544 Updated the docs for the searchers to reflect the new interface, and added rationale for the change. 2016-10-26 11:22:37 -07:00
Marshall Clow 6a650ade1d Merge pull request #28 from ZaMaZaN4iK/feature_branch/is_palindromic
Delete duplicate version is_palindrome
2016-10-12 16:42:14 -07:00
Marshall Clow b3dabe10e4 Add missing error_info include 2016-08-17 13:54:58 -07:00
Marshall Clow f1e9d3140c Made is_palindrome work for C++03 2016-08-17 13:49:16 -07:00
Marshall Clow 18bcbba8f4 Merge pull request #22 from ZaMaZaN4iK/feature_branch/is_palindromic
Disabled 'is_palindrome' with 'const char*'
2016-08-16 18:19:15 -07:00
Marshall Clow f6d20e612b Merge pull request #20 from MarcelRaad/patch-1
Remove unused bad include; remind me in a week (after the tests have cycled), and I'll merge to master. Thanks!
2016-07-14 11:46:33 -07:00
Marshall Clow 712f16d000 Merge pull request #19 from ZaMaZaN4iK/feature_branch/is_palindromic
Added `is_palindrome` from @ ZaMaZaN4iK
2016-07-11 08:27:48 -07:00
Marshall Clow 5314d592e3 Fix up misleading indentation; Fixes https://svn.boost.org/trac/boost/ticket/12206 2016-05-16 07:47:09 -07:00
Marshall Clow 3aef0ab9ac Merge pull request #17 from kundor/develop
Remove some includes, fix some comments and docs. Thanks! Please remind me in a week or so to merge to master; after the tests have cycled.
2016-04-29 16:07:27 -07:00
Marshall Clow 795c6c69e5 Removed doc comment for replace_all that said it returned something; Fixes https://svn.boost.org/trac/boost/ticket/12163 2016-04-28 08:47:47 -07:00
Marshall Clow 94bed863f0 Merge pull request #16 from aldonin/fix-minmax-example
Fix missing include <iterator>
2016-04-27 10:56:56 -07:00
Marshall Clow dc2149fbc5 Merge pull request #15 from nigels-com/develop
Implement algorithm::hex_lower #7064 (rebased on develop)
2016-03-07 21:54:42 -08:00
Marshall Clow 205f5ff4bb Update searchers to return a pair of iterators 2016-02-15 22:23:58 -08:00
Marshall Clow 782d7665dc Comment out unused parameter to silence a warning. Thanks to @meetingcpp for the report 2016-02-07 13:20:22 -05:00
Marshall Clow 61a4bd45fb Merge pull request #12 from trel/patch-1
comment typo fix
2015-12-14 10:56:18 -08:00
Marshall Clow 4fbc56bae9 Merge pull request #11 from thtrummer/develop
Add missing include for std::multiplies and std::plus. Thanks to @thtrummer for the patch!
2015-05-17 11:55:43 -07:00
Marshall Clow 7f7ebc36ed Fixed the docs for clamp. Refs #10081 2015-04-10 08:10:16 -07:00
Marshall Clow ba1894bfde Manually apply pull request #10 (since it was against master) 2015-03-18 08:39:42 -07:00
Marshall Clow 0c3f9a38f4 Add new algorithm boost::power, which raises a number to an integer power 2014-12-02 14:38:25 -08:00
Marshall Clow c5c927bf25 Merge pull request #9 from jzmaddock/patch-1
Remove use of deprecated TR1 library.
2014-09-29 07:47:05 -07:00
Marshall Clow 0a55238652 Removed some debugging code from the test 2014-09-24 10:33:46 -07:00
Marshall Clow 4dac507b77 Remove code to use standard library versions of algorithms. Always use the boost ones 2014-08-28 10:07:16 -07:00
Marshall Clow 3fd9c35138 Removed some tabs that snuck in. No functionality change 2014-07-08 08:47:15 -07:00
Marshall Clow 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
Marshall Clow 5af84327ad Merge pull request #1 from pabigot/fixup/hex
hex: remove unreferenced type declaration. Thanks to pabigot.
2014-05-13 15:24:43 -06:00
Marshall Clow d121a40f2b Add a missing 'not' to the description for mismatch. Thanks to K-ballo for the catch 2014-05-03 15:13:44 -07:00
Marshall Clow 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
Marshall Clow a4d5f17173 #ifdef out the four argument versions of is_permutation when we are compiling with C++14, since they're in the standard library 2014-03-19 09:11:51 -07:00
Marshall Clow 848b521850 Changed parameters for the sequence-based versions of clamp from being passed by vaue to being passed by const &. Thanks to Martin Moene for the suggestion. 2014-03-11 12:09:51 -07:00
Marshall Clow bc3b806f56 Fixed some file perms that got munged in the git conversion. 2014-02-04 08:13:44 -08:00
Marshall Clow 0ac413ecb8 Updated docs for is_sorted, etc. Refs #9367
[SVN r86741]
2013-11-17 20:47:14 +00:00
Marshall Clow 747722a8da Fix an uninitialized member in a default-initialized split_iterator; Refs #9335
[SVN r86583]
2013-11-07 21:31:06 +00:00
Marshall Clow 617ec03937 Updated license and copyright
[SVN r86311]
2013-10-14 21:35:20 +00:00
Marshall Clow 4c3b17ce77 Remove tabs
[SVN r86310]
2013-10-14 21:31:19 +00:00
Marshall Clow b44dff3a5b Revert to old behavior for find_iterator; will not find overlapping matches. Fixes #9063
[SVN r86206]
2013-10-08 17:59:44 +00:00
Marshall Clow 4b9a073780 Fixed typo in documentation for equal and mismatch; thanks to Larry for the catch
[SVN r86171]
2013-10-06 01:24:41 +00:00
Marshall Clow 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