Compare commits

...

16 Commits

Author SHA1 Message Date
Marshall Clow
3b3bd8d3db Merge changes from develop for the 1.76.0 release 2021-04-07 09:28:02 -07:00
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
ca77e55428 Bug fixes for 1/75/0 2020-11-17 15:45:39 -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
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
8 changed files with 58 additions and 8 deletions

41
CMakeLists.txt Normal file
View File

@@ -0,0 +1,41 @@
# Generated by `boostdep --cmake algorithm`
# Copyright 2020 Peter Dimov
# Distributed under the Boost Software License, Version 1.0.
# https://www.boost.org/LICENSE_1_0.txt
cmake_minimum_required(VERSION 3.5...3.16)
project(boost_algorithm VERSION "${BOOST_SUPERPROJECT_VERSION}" LANGUAGES CXX)
add_library(boost_algorithm INTERFACE)
add_library(Boost::algorithm ALIAS boost_algorithm)
target_include_directories(boost_algorithm INTERFACE include)
target_link_libraries(boost_algorithm
INTERFACE
Boost::array
Boost::assert
Boost::bind
Boost::concept_check
Boost::config
Boost::core
Boost::exception
Boost::function
Boost::iterator
Boost::mpl
Boost::range
Boost::regex
Boost::static_assert
Boost::throw_exception
Boost::tuple
Boost::type_traits
Boost::unordered
)
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
add_subdirectory(test)
endif()

View File

@@ -19,7 +19,6 @@
#define BOOST_ALGORITHM_APPLY_PERMUTATION_HPP
#include <algorithm>
#include <type_traits>
#include <boost/config.hpp>
#include <boost/range/begin.hpp>

View File

@@ -9,8 +9,8 @@
/// \brief Combine the (transformed) elements of a sequence (or two) into a single value.
/// \author Marshall Clow
#ifndef BOOST_ALGORITHM_TRANSFORM_REDUCE_HPP
#define BOOST_ALGORITHM_TRANSFORM_REDUCE_HPP
#ifndef BOOST_ALGORITHM_INCLUSIVE_SCAN_HPP
#define BOOST_ALGORITHM_INCLUSIVE_SCAN_HPP
#include <functional> // for std::plus
#include <iterator> // for std::iterator_traits
@@ -58,4 +58,4 @@ OutputIterator inclusive_scan(InputIterator first, InputIterator last,
}} // namespace boost and algorithm
#endif // BOOST_ALGORITHM_TRANSFORM_REDUCE_HPP
#endif // BOOST_ALGORITHM_INCLUSIVE_SCAN_HPP

View File

@@ -15,6 +15,9 @@
#include <locale>
#include <functional>
#include <boost/iterator/transform_iterator.hpp>
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>
#include <boost/type_traits/make_unsigned.hpp>
namespace boost {

View File

@@ -13,10 +13,12 @@
#include <boost/algorithm/string/config.hpp>
#include <algorithm>
#include <cstring>
#include <functional>
#include <locale>
#include <boost/range/begin.hpp>
#include <boost/range/distance.hpp>
#include <boost/range/end.hpp>
#include <boost/algorithm/string/predicate_facade.hpp>

View File

@@ -18,6 +18,8 @@
#include <boost/algorithm/string/detail/find_format_store.hpp>
#include <boost/algorithm/string/detail/replace_storage.hpp>
#include <deque>
namespace boost {
namespace algorithm {
namespace detail {

View File

@@ -11,7 +11,8 @@
],
"maintainers": [
"Marshall Clow <marshall -at- idio.com>"
]
],
"cxxstd": "03"
},
{
"key": "algorithm/minmax",
@@ -26,7 +27,8 @@
],
"maintainers": [
"Marshall Clow <marshall -at- idio.com>"
]
],
"cxxstd": "03"
},
{
"key": "algorithm/string",
@@ -42,6 +44,7 @@
],
"maintainers": [
"Marshall Clow <marshall -at- idio.com>"
]
],
"cxxstd": "03"
}
]

View File

@@ -265,7 +265,7 @@
<title>Find Iterator</title>
<para>
An extension to find algorithms it the Find Iterator. Instead of searching for just a one part of a string,
An extension to find algorithms is the Find Iterator. Instead of searching for just a one part of a string,
the find iterator allows us to iterate over the substrings matching the specified criteria.
This facility is using the <link linkend="string_algo.finder_concept">Finder</link> to incrementally
search the string.