Commit Graph

573 Commits

Author SHA1 Message Date
Marshall Clow
e59958cc4d Merge include + doc fixes to master for 1.72 release 2019-12-03 16:53:16 -08: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
44527f4c81 Algorithm: Merge example fixes master for 1.72.0 2019-12-03 07:48:39 -08:00
Marshall Clow
9093abbda9 Update examples so that they build 2019-11-27 10:58:37 -08:00
Marshall Clow
1b65b8de02 Merge bug fixes to master for 1.71 2019-07-10 15:14:08 -07: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
Tinko Bartels
f39107f228 Replace broken links. 2019-04-23 13:48:19 +02:00
Marshall Clow
5af3e3b174 Merge bug fixes to master 2018-12-04 09:35:03 -08: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
James E. King III
01b0dd8648 fix extraneous colon in test jamfile causing a build warning 2018-10-30 15:30:23 +00: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
Zach Laine
435cc61af8 Fix sloppy find_not() and find_*backward() code examples. 2018-10-02 17:26:50 -05:00
Ben10do
45baad2431
Correct lvalue/rvalue nomenclature
I accidentally referred to the additional tests as using lvalues as inputs, when they’re actually using rvalues. This commit corrects the relevant comments.
2018-08-02 22:18:54 +01:00
Ben10do
5408a17020
Add tests with lvalue inputs
If the compiler supports forwarding references, we now test if lvalues can be used as input strings for split(), find_all(), and ifind_all().

Note that MSVC (without its recent /permissive- flag) may pass these tests without the forwarding references changes that I made, due to its non-standard binding of lvalues to rvalues.
2018-08-01 22:42:18 +01:00
Ben10do
c6f784cb70
Use forwarding references in string/split.hpp
On compilers that support C++11, this allows both lvalues and rvalues to be used as inputs to the split(), find_all(), and ifind_all() functions.

For example, given a function get_string() that returns a std::string, this allows you to write:
boost::split(result, get_string(), boost::is_any_of(" "))
2018-08-01 20:54:17 +01:00
Marshall Clow
badf1b3f0c Merge broken links to master. NFC 2018-07-31 22:57:40 -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
4f9afb0682 Merge for the 1.68.0 beta 2018-07-04 11:27:27 -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
Zach Laine
d1b0024aad Add Travis and Appveyor CI config files. 2018-05-19 13:47:53 -05:00
Marshall Clow
ecb8bfab76
Merge pull request #47 from tzlaine/develop
Add find() variants.
2018-05-18 07:37:36 -07:00
Zach Laine
3f2a962ace East const -> west const. I regret nothing! 2018-05-14 19:19:52 -05:00
Zach Laine
6b2246468e find_{not,*backward} docs copy editing. 2018-05-14 19:15:19 -05:00
Marshall Clow
ea7d35d949 Added some comments 2018-05-13 17:24:36 -07:00
Zach Laine
c5c5d24ff3 Add range-based overloads of find*_backward(). 2018-05-12 16:04:12 -05:00
Zach Laine
6c68cf8624 Add range-based overload of find_not(). 2018-05-12 16:04:01 -05:00
Zach Laine
8c9d5e858c Add docs for find_backward.hpp. 2018-05-11 15:20:12 -05:00
Zach Laine
86d26e7e2e Add docs for find_not.hpp. 2018-05-10 19:01:12 -05:00
Zach Laine
94460b0ca5 Add tests for find_backward.hpp. 2018-05-10 17:56:16 -05:00
Zach Laine
45a4d2580c Add tests for find_not.hpp. 2018-05-10 13:21:21 -05:00
Zach Laine
d7d91d431a Add find_not() and the four find_*_backward overloads from Boost.Text. Needs
tests.
2018-05-09 12:08:46 -05: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
6d0126df8a Catch up with the changes; apply_permutation; constexpr, etc 2018-05-01 08:17:06 -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
Daniela Engert
b0f04afcb0
functions used in constexpr context must be marked 'constexpr'
Signed-off-by: Daniela Engert <dani@ngrt.de>
2018-03-25 17:46:15 +02:00
Marshall Clow
df58b44581
Merge pull request #45 from samuela/patch-1
docstring fixes - Thanks!
2018-03-20 19:05:03 -07:00
Samuel Ainsworth
c34713b983 Revert "Fix clang "parameter not found" warning"
This reverts commit aa8cce5bb4.
2018-03-20 19:01:56 -07:00
samuela
aa8cce5bb4
Fix clang "parameter not found" warning 2018-03-20 17:57:58 -07:00
samuela
d6c8b271b3
remove other incorrect docstring params 2018-03-20 17:53:09 -07:00
samuela
50a2115236
docstring fix for first_finder 2018-03-20 17:50:04 -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