Commit Graph

491 Commits

Author SHA1 Message Date
Peter Dimov c9077bd495 Add CMakeLists.txt 2021-03-18 17:32:16 +02: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
Edward Diener 137c92dac0 [skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. 2021-01-18 20:32:12 -05: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
Edward Diener fc86cd34f7 Remove erroneous inclusion of C++11 type_traits header file. 2020-11-18 12:46:50 -05:00
Marshall Clow 8c26a50a12 Fix incorrect include guards (copypasta). Thanks to Anton Vasin (tony-space) for the bug report and fix boost-1.75.0.beta1 2020-11-12 08:32:46 -08:00
Giovanni Cerretani c16b8ffadd Update usage.xml
Doc typo.
2020-10-23 15:27:49 +02: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
Vassil Vassilev 49d284392c Add missing include
This patch allows the header to be built standalone, as part of clang C++ modules builds
2020-07-17 11:06:33 +03:00
Vassil Vassilev 68100d9198 Add missing includes
This patch allows the header to be built standalone, as part of clang C++ modules builds.
2020-07-17 08:16:46 +03:00
Marshall Clow 1634b819b3 Merge pull request #74 from vgvassilev/patch-1
Add missing include
2020-07-16 18:21:46 -07:00
Vassil Vassilev 4547b1a5fe Add missing include
This patch allows the header to be built standalone, as part of clang C++ modules builds.
2020-07-17 01:52:08 +03: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
Andrey Semashev 8710bbd4b6 Remove a few leftover uses of boost/detail/iterator.hpp. 2020-05-11 18:42:15 +03: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
Andrey Semashev ed4033f0cc Avoid using deprecated header boost/detail/iterator.hpp.
This header is deprecated in favor of <iterator> and will be removed in a
future release. This silences deprecation warnings.
2020-05-11 18:03:41 +03: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
Edward Diener 8e23ffde9e Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. 2020-03-30 18:47:19 -04: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
Tinko Bartels f39107f228 Replace broken links. 2019-04-23 13:48:19 +02: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 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
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