diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index e84cfc0..8fe7801 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -22,6 +22,7 @@ doxygen autodoc ../../../boost/algorithm/searching/*.hpp ../../../boost/algorithm/cxx11/*.hpp ../../../boost/algorithm/cxx14/*.hpp + ../../../boost/algorithm/cxx17/*.hpp ] : "PREDEFINED=\"BOOST_ALGORITHM_DOXYGEN=1\"" @@ -40,8 +41,8 @@ boostbook standalone "boost.doxygen.reftitle=Boost.Algorithms C++ Reference" chapter.autolabel=0 chunk.section.depth=8 - toc.section.depth=2 - toc.max.depth=2 + toc.section.depth=3 + toc.max.depth=3 generate.section.toc.level=1 ; diff --git a/doc/algorithm.qbk b/doc/algorithm.qbk index 3d1230f..64e8dfb 100644 --- a/doc/algorithm.qbk +++ b/doc/algorithm.qbk @@ -46,7 +46,11 @@ Thanks to all the people who have reviewed this library and made suggestions for [include knuth_morris_pratt.qbk] [endsect] + [section:CXX11 C++11 Algorithms] + +[section:CXX11_inner_algorithms] + [include all_of.qbk] [include any_of.qbk] [include none_of.qbk] @@ -55,24 +59,204 @@ Thanks to all the people who have reviewed this library and made suggestions for [include is_partitioned.qbk] [include is_permutation.qbk] [include partition_point.qbk] -[endsect] + +[section:partition_copy partition_copy ] +[*[^[link header.boost.algorithm.cxx11.partition_copy_hpp partition_copy] ] ] +Copy a subset of a sequence to a new sequence +[endsect:partition_copy] + +[section:copy_if copy_if ] +[*[^[link header.boost.algorithm.cxx11.copy_if_hpp copy_if] ] ] +Copy a subset of a sequence to a new sequence +[endsect:copy_if] + +[section:copy_n copy_n ] +[*[^[link header.boost.algorithm.cxx11.copy_n_hpp copy_n] ] ] +Copy n items from one sequence to another +[endsect:copy_n] + +[section:iota iota ] +[*[^[link header.boost.algorithm.cxx11.iota_hpp iota] ] ] +Generate an increasing series +[endsect:iota] + +[endsect:CXX11_inner_algorithms] + +[endsect:CXX11] + [section:CXX14 C++14 Algorithms] + +[section:CXX14_inner_algorithms] + [include equal.qbk] [include mismatch.qbk] -[endsect] + +[endsect:CXX14_inner_algorithms] + +[endsect:CXX14] + + +[section:CXX17 C++17 Algorithms] + +[section:CXX17_inner_algorithms] + +[section:for_each_n for_each_n] +[*[^[link boost.algorithm.for_each_n for_each_n] ] ] +Apply a functor to the elements of a sequence +[endsect:for_each_n] + +[endsect:CXX17_inner_algorithms] + +[endsect:CXX17] + [section:Misc Other Algorithms] -[include clamp-hpp.qbk] -[include find_not.qbk] -[include find_backward.qbk] -[include gather.qbk] -[include hex.qbk] -[include is_palindrome.qbk] -[include is_partitioned_until.qbk] -[include apply_permutation.qbk] -[endsect] +[section:misc_inner_algorithms] + +[section:none_of_equal none_of_equal ] +[*[^[link header.boost.algorithm.cxx11.none_of_hpp none_of_equal] ] ] +Whether none of a range's elements matches a value +[endsect:none_of_equal] + +[section:one_of_equal one_of_equal ] +[*[^[link header.boost.algorithm.cxx11.one_of_hpp one_of_equal] ] ] +Whether only one of a range's elements matches a value +[endsect:one_of_equal] + +[section:is_decreasing is_decreasing ] +[*[^[link header.boost.algorithm.cxx11.is_sorted_hpp is_decreasing] ] ] +Whether an entire sequence is decreasing; i.e, each item is less than or equal to the previous one +[endsect:is_decreasing] + +[section:is_increasing is_increasing ] +[*[^[link header.boost.algorithm.cxx11.is_sorted_hpp is_increasing] ] ] +Whether an entire sequence is increasing; i.e, each item is greater than or equal to the previous one +[endsect:is_increasing] + +[section:is_strictly_decreasing is_strictly_decreasing ] +[*[^[link header.boost.algorithm.cxx11.is_sorted_hpp is_strictly_decreasing] ] ] +Whether an entire sequence is strictly decreasing; i.e, each item is less than the previous one +[endsect:is_strictly_decreasing] + +[section:is_strictly_increasing is_strictly_increasing ] +[*[^[link header.boost.algorithm.cxx11.is_sorted_hpp is_strictly_increasing] ] ] +Whether an entire sequence is strictly increasing; i.e, each item is greater than the previous one +[endsect:is_strictly_increasing] + +[include clamp-hpp.qbk] + +[section:clamp_range clamp_range ] +[*[^[link header.boost.algorithm.clamp_hpp clamp_range] ] ] +Perform [^clamp] on the elements of a range and write the results into an output iterator +[endsect:clamp_range] + +[include find_not.qbk] + +[include find_backward.qbk] + +[section:find_not_backward find_not_backward ] +[*[^[link header.boost.algorithm.find_backward_hpp find_not_backward] ] ] +Find the last element in a sequence that does not equal a value. +See [link the_boost_algorithm_library.Misc.misc_inner_algorithms.find_backward find_backward]. +[endsect:find_not_backward] + +[section:find_if_backward find_if_backward ] +[*[^[link header.boost.algorithm.find_backward_hpp find_if_backward] ] ] +Find the last element in a sequence that satisfies a predicate. +See [link the_boost_algorithm_library.Misc.misc_inner_algorithms.find_backward find_backward]. +[endsect:find_if_backward] + +[section:find_if_not find_if_not ] +[*[^[link header.boost.algorithm.cxx11.find_if_not_hpp find_if_not] ] ] +Find the first element in a sequence that does not satisfy a predicate. +See [link the_boost_algorithm_library.Misc.misc_inner_algorithms.find_not find_not]. +[endsect:find_if_not] + +[section:find_if_not_backward find_if_not_backward ] +[*[^[link header.boost.algorithm.find_backward_hpp find_if_not_backward] ] ] +Find the last element in a sequence that does not satisfy a predicate. +See [link the_boost_algorithm_library.Misc.misc_inner_algorithms.find_backward find_backward]. +[endsect:find_if_not_backward] + +[include gather.qbk] + +[include hex.qbk] + +[section:unhex unhex ] +[*[^[link header.boost.algorithm.hex_hpp unhex] ] ] +Convert a sequence of hexadecimal characters into a sequence of integers or characters +[endsect:unhex] + +[section:hex_lower hex_lower ] +[*[^[link header.boost.algorithm.hex_hpp hex_lower] ] ] +Convert a sequence of integral types into a lower case hexadecimal sequence of characters +[endsect:hex_lower] + +[include is_palindrome.qbk] + +[include is_partitioned_until.qbk] + +[section:apply_reverse_permutation apply_reverse_permutation ] +See below +[endsect:apply_reverse_permutation] + +[include apply_permutation.qbk] + +[section:copy_until copy_until ] +[*[^[link header.boost.algorithm.cxx11.copy_if_hpp copy_until] ] ] +Copy all the elements at the start of the input range that do not satisfy the predicate to the output range +[endsect:copy_until] + +[section:copy_while copy_while ] +[*[^[link header.boost.algorithm.cxx11.copy_if_hpp copy_while] ] ] +Copy all the elements at the start of the input range that satisfy the predicate to the output range +[endsect:copy_while] + +[section:iota_n iota_n ] +[*[^[link boost.algorithm.iota_n iota_n] ] ] +Write a sequence of n increasing values to an output iterator +[endsect:iota_n] + +[section:power power ] +[*[^[link header.boost.algorithm.algorithm_hpp power] ] ] +Raise a value to an integral power ([^constexpr] since C++14) +[endsect:power] + +[endsect:misc_inner_algorithms] + +[endsect:Misc] + + +[section:not_yet_documented_cxx17_algos Not-yet-documented C++17 Algorithms] + +* [*[^[link header.boost.algorithm.cxx17.exclusive_scan_hpp exclusive_scan] ] ] +* [*[^[link header.boost.algorithm.cxx17.inclusive_scan_hpp inclusive_scan] ] ] +* [*[^[link header.boost.algorithm.cxx17.reduce_hpp reduce] ] ] +* [*[^[link header.boost.algorithm.cxx17.transform_exclusive_scan_hpp transform_exclusive_scan] ] ] +* [*[^[link header.boost.algorithm.cxx17.transform_inclusive_scan_hpp transform_inclusive_scan] ] ] +* [*[^[link header.boost.algorithm.cxx17.transform_reduce_hpp transform_reduce] ] ] + +[endsect:not_yet_documented_cxx17_algos] + + +[section:not_yet_documented_other_algos Not-yet-documented Other Algorithms] + +* [*[^[link header.boost.algorithm.minmax_hpp minmax] ] ] +* [*[^[link header.boost.algorithm.minmax_element_hpp first_max_element] ] ] +* [*[^[link header.boost.algorithm.minmax_element_hpp first_min_element] ] ] +* [*[^[link header.boost.algorithm.minmax_element_hpp first_min_first_max_element] ] ] +* [*[^[link header.boost.algorithm.minmax_element_hpp first_min_last_max_element] ] ] +* [*[^[link header.boost.algorithm.minmax_element_hpp last_max_element] ] ] +* [*[^[link header.boost.algorithm.minmax_element_hpp last_min_element] ] ] +* [*[^[link header.boost.algorithm.minmax_element_hpp last_min_first_max_element] ] ] +* [*[^[link header.boost.algorithm.minmax_element_hpp last_min_last_max_element] ] ] +* [*[^[link header.boost.algorithm.minmax_element_hpp minmax_element] ] ] +* [*[^[link header.boost.algorithm.sort_subrange_hpp partition_subrange] ] ] +* [*[^[link header.boost.algorithm.sort_subrange_hpp sort_subrange] ] ] + +[endsect:not_yet_documented_other_algos] [xinclude autodoc.xml] diff --git a/doc/apply_permutation.qbk b/doc/apply_permutation.qbk index 7f11457..86bebf1 100644 --- a/doc/apply_permutation.qbk +++ b/doc/apply_permutation.qbk @@ -9,7 +9,7 @@ Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ] -The header file 'apply_permutation.hpp' contains two algorithms, apply_permutation and apply_reverse_permutation. Also there are range-based versions. +The header file [^[link header.boost.algorithm.apply_permutation_hpp apply_permutation.hpp]] contains two algorithms, `apply_permutation` and `apply_reverse_permutation`. There are also range-based versions. The algorithms transform the item sequence according to index sequence order. The routine `apply_permutation` takes a item sequence and a order sequence. It reshuffles item sequence according to order sequence. Every value in order sequence means where the item comes from. Order sequence needs to be exactly a permutation of the sequence [0, 1, ... , N], where N is the biggest index in the item sequence (zero-indexed). diff --git a/include/boost/algorithm/algorithm.hpp b/include/boost/algorithm/algorithm.hpp index 2bbee1d..76753cd 100644 --- a/include/boost/algorithm/algorithm.hpp +++ b/include/boost/algorithm/algorithm.hpp @@ -19,6 +19,7 @@ #include // for plus and multiplies +#include #include // for boost::disable_if #include diff --git a/include/boost/algorithm/apply_permutation.hpp b/include/boost/algorithm/apply_permutation.hpp index b9de0de..225ae57 100644 --- a/include/boost/algorithm/apply_permutation.hpp +++ b/include/boost/algorithm/apply_permutation.hpp @@ -21,6 +21,7 @@ #include #include +#include #include #include diff --git a/include/boost/algorithm/clamp.hpp b/include/boost/algorithm/clamp.hpp index d027acd..82a99bd 100644 --- a/include/boost/algorithm/clamp.hpp +++ b/include/boost/algorithm/clamp.hpp @@ -23,6 +23,7 @@ #include // For std::iterator_traits #include +#include #include #include #include // for identity diff --git a/include/boost/algorithm/cxx11/all_of.hpp b/include/boost/algorithm/cxx11/all_of.hpp index 527bbd5..f7ee311 100644 --- a/include/boost/algorithm/cxx11/all_of.hpp +++ b/include/boost/algorithm/cxx11/all_of.hpp @@ -12,6 +12,7 @@ #ifndef BOOST_ALGORITHM_ALL_OF_HPP #define BOOST_ALGORITHM_ALL_OF_HPP +#include #include #include diff --git a/include/boost/algorithm/cxx11/any_of.hpp b/include/boost/algorithm/cxx11/any_of.hpp index d9e2414..51dfba1 100644 --- a/include/boost/algorithm/cxx11/any_of.hpp +++ b/include/boost/algorithm/cxx11/any_of.hpp @@ -14,6 +14,7 @@ #ifndef BOOST_ALGORITHM_ANY_OF_HPP #define BOOST_ALGORITHM_ANY_OF_HPP +#include #include #include diff --git a/include/boost/algorithm/cxx11/copy_if.hpp b/include/boost/algorithm/cxx11/copy_if.hpp index dc1fdef..d3914bf 100644 --- a/include/boost/algorithm/cxx11/copy_if.hpp +++ b/include/boost/algorithm/cxx11/copy_if.hpp @@ -13,6 +13,8 @@ #define BOOST_ALGORITHM_COPY_IF_HPP #include // for std::pair, std::make_pair + +#include #include #include diff --git a/include/boost/algorithm/cxx11/copy_n.hpp b/include/boost/algorithm/cxx11/copy_n.hpp index e4bebd0..a0130fa 100644 --- a/include/boost/algorithm/cxx11/copy_n.hpp +++ b/include/boost/algorithm/cxx11/copy_n.hpp @@ -12,6 +12,8 @@ #ifndef BOOST_ALGORITHM_COPY_N_HPP #define BOOST_ALGORITHM_COPY_N_HPP +#include + namespace boost { namespace algorithm { /// \fn copy_n ( InputIterator first, Size n, OutputIterator result ) diff --git a/include/boost/algorithm/cxx11/find_if_not.hpp b/include/boost/algorithm/cxx11/find_if_not.hpp index 6f5799a..cc81d29 100644 --- a/include/boost/algorithm/cxx11/find_if_not.hpp +++ b/include/boost/algorithm/cxx11/find_if_not.hpp @@ -12,6 +12,7 @@ #ifndef BOOST_ALGORITHM_FIND_IF_NOT_HPP #define BOOST_ALGORITHM_FIND_IF_NOT_HPP +#include #include #include diff --git a/include/boost/algorithm/cxx11/iota.hpp b/include/boost/algorithm/cxx11/iota.hpp index 6efc4d8..e8b2b62 100644 --- a/include/boost/algorithm/cxx11/iota.hpp +++ b/include/boost/algorithm/cxx11/iota.hpp @@ -12,6 +12,7 @@ #ifndef BOOST_ALGORITHM_IOTA_HPP #define BOOST_ALGORITHM_IOTA_HPP +#include #include #include diff --git a/include/boost/algorithm/cxx11/is_partitioned.hpp b/include/boost/algorithm/cxx11/is_partitioned.hpp index fb2c5a1..47abc2c 100644 --- a/include/boost/algorithm/cxx11/is_partitioned.hpp +++ b/include/boost/algorithm/cxx11/is_partitioned.hpp @@ -12,6 +12,7 @@ #ifndef BOOST_ALGORITHM_IS_PARTITIONED_HPP #define BOOST_ALGORITHM_IS_PARTITIONED_HPP +#include #include #include diff --git a/include/boost/algorithm/cxx11/is_permutation.hpp b/include/boost/algorithm/cxx11/is_permutation.hpp index 0098cd5..31eac93 100644 --- a/include/boost/algorithm/cxx11/is_permutation.hpp +++ b/include/boost/algorithm/cxx11/is_permutation.hpp @@ -17,6 +17,7 @@ #include // for std::equal_to #include +#include #include #include #include diff --git a/include/boost/algorithm/cxx11/is_sorted.hpp b/include/boost/algorithm/cxx11/is_sorted.hpp index 2766211..0aa8122 100644 --- a/include/boost/algorithm/cxx11/is_sorted.hpp +++ b/include/boost/algorithm/cxx11/is_sorted.hpp @@ -16,6 +16,7 @@ #include #include +#include #include #include diff --git a/include/boost/algorithm/cxx11/none_of.hpp b/include/boost/algorithm/cxx11/none_of.hpp index e537c26..715c9ab 100644 --- a/include/boost/algorithm/cxx11/none_of.hpp +++ b/include/boost/algorithm/cxx11/none_of.hpp @@ -12,6 +12,7 @@ #ifndef BOOST_ALGORITHM_NONE_OF_HPP #define BOOST_ALGORITHM_NONE_OF_HPP +#include #include #include diff --git a/include/boost/algorithm/cxx11/one_of.hpp b/include/boost/algorithm/cxx11/one_of.hpp index 3b95180..52f77b6 100644 --- a/include/boost/algorithm/cxx11/one_of.hpp +++ b/include/boost/algorithm/cxx11/one_of.hpp @@ -12,11 +12,13 @@ #ifndef BOOST_ALGORITHM_ONE_OF_HPP #define BOOST_ALGORITHM_ONE_OF_HPP -#include - +#include #include #include +#include + + namespace boost { namespace algorithm { /// \fn one_of ( InputIterator first, InputIterator last, Predicate p ) diff --git a/include/boost/algorithm/cxx11/partition_point.hpp b/include/boost/algorithm/cxx11/partition_point.hpp index 2c2767a..aa184ac 100644 --- a/include/boost/algorithm/cxx11/partition_point.hpp +++ b/include/boost/algorithm/cxx11/partition_point.hpp @@ -14,6 +14,7 @@ #include // for std::distance, advance +#include #include #include diff --git a/include/boost/algorithm/cxx14/equal.hpp b/include/boost/algorithm/cxx14/equal.hpp index 526aae9..a1501ba 100644 --- a/include/boost/algorithm/cxx14/equal.hpp +++ b/include/boost/algorithm/cxx14/equal.hpp @@ -14,6 +14,8 @@ #include +#include + namespace boost { namespace algorithm { namespace detail { diff --git a/include/boost/algorithm/cxx14/is_permutation.hpp b/include/boost/algorithm/cxx14/is_permutation.hpp index 639446b..e889347 100644 --- a/include/boost/algorithm/cxx14/is_permutation.hpp +++ b/include/boost/algorithm/cxx14/is_permutation.hpp @@ -16,6 +16,7 @@ #include // for std::equal_to #include +#include #include #include diff --git a/include/boost/algorithm/cxx14/mismatch.hpp b/include/boost/algorithm/cxx14/mismatch.hpp index 4601719..a1fafe8 100644 --- a/include/boost/algorithm/cxx14/mismatch.hpp +++ b/include/boost/algorithm/cxx14/mismatch.hpp @@ -13,6 +13,7 @@ #define BOOST_ALGORITHM_MISMATCH_HPP #include // for std::pair + #include namespace boost { namespace algorithm { diff --git a/include/boost/algorithm/cxx17/exclusive_scan.hpp b/include/boost/algorithm/cxx17/exclusive_scan.hpp index e4ec112..9dbfbe9 100644 --- a/include/boost/algorithm/cxx17/exclusive_scan.hpp +++ b/include/boost/algorithm/cxx17/exclusive_scan.hpp @@ -15,6 +15,7 @@ #include // for std::plus #include // for std::iterator_traits +#include #include #include #include diff --git a/include/boost/algorithm/cxx17/for_each_n.hpp b/include/boost/algorithm/cxx17/for_each_n.hpp index 71f6cde..59abb44 100644 --- a/include/boost/algorithm/cxx17/for_each_n.hpp +++ b/include/boost/algorithm/cxx17/for_each_n.hpp @@ -14,6 +14,8 @@ #include // for std::pair +#include + namespace boost { namespace algorithm { /// \fn for_each_n(InputIterator first, Size n, Function f); diff --git a/include/boost/algorithm/cxx17/inclusive_scan.hpp b/include/boost/algorithm/cxx17/inclusive_scan.hpp index 5c60c39..5781267 100644 --- a/include/boost/algorithm/cxx17/inclusive_scan.hpp +++ b/include/boost/algorithm/cxx17/inclusive_scan.hpp @@ -15,6 +15,7 @@ #include // for std::plus #include // for std::iterator_traits +#include #include #include #include diff --git a/include/boost/algorithm/cxx17/reduce.hpp b/include/boost/algorithm/cxx17/reduce.hpp index 55424b6..35f217c 100644 --- a/include/boost/algorithm/cxx17/reduce.hpp +++ b/include/boost/algorithm/cxx17/reduce.hpp @@ -15,6 +15,7 @@ #include // for std::plus #include // for std::iterator_traits +#include #include #include #include diff --git a/include/boost/algorithm/cxx17/transform_exclusive_scan.hpp b/include/boost/algorithm/cxx17/transform_exclusive_scan.hpp index dd3c9c8..68318a5 100644 --- a/include/boost/algorithm/cxx17/transform_exclusive_scan.hpp +++ b/include/boost/algorithm/cxx17/transform_exclusive_scan.hpp @@ -15,6 +15,7 @@ #include // for std::plus #include // for std::iterator_traits +#include #include #include #include diff --git a/include/boost/algorithm/cxx17/transform_inclusive_scan.hpp b/include/boost/algorithm/cxx17/transform_inclusive_scan.hpp index 1d11976..3160770 100644 --- a/include/boost/algorithm/cxx17/transform_inclusive_scan.hpp +++ b/include/boost/algorithm/cxx17/transform_inclusive_scan.hpp @@ -15,6 +15,7 @@ #include // for std::plus #include // for std::iterator_traits +#include #include #include #include diff --git a/include/boost/algorithm/cxx17/transform_reduce.hpp b/include/boost/algorithm/cxx17/transform_reduce.hpp index 8696384..1bef5d1 100644 --- a/include/boost/algorithm/cxx17/transform_reduce.hpp +++ b/include/boost/algorithm/cxx17/transform_reduce.hpp @@ -15,6 +15,7 @@ #include // for std::plus #include // for std::iterator_traits +#include #include #include #include diff --git a/include/boost/algorithm/find_backward.hpp b/include/boost/algorithm/find_backward.hpp index 6102c9a..5903203 100644 --- a/include/boost/algorithm/find_backward.hpp +++ b/include/boost/algorithm/find_backward.hpp @@ -7,13 +7,12 @@ #ifndef BOOST_ALGORITHM_FIND_BACKWARD_HPP #define BOOST_ALGORITHM_FIND_BACKWARD_HPP +#include + #include #include #include -#include - - namespace boost { namespace algorithm { template diff --git a/include/boost/algorithm/find_not.hpp b/include/boost/algorithm/find_not.hpp index 4d8a28a..cc9dc21 100644 --- a/include/boost/algorithm/find_not.hpp +++ b/include/boost/algorithm/find_not.hpp @@ -7,13 +7,12 @@ #ifndef BOOST_ALGORITHM_FIND_NOT_HPP #define BOOST_ALGORITHM_FIND_NOT_HPP +#include + #include #include #include -#include - - namespace boost { namespace algorithm { template diff --git a/include/boost/algorithm/gather.hpp b/include/boost/algorithm/gather.hpp index 944bc94..7a0fdf2 100644 --- a/include/boost/algorithm/gather.hpp +++ b/include/boost/algorithm/gather.hpp @@ -23,6 +23,7 @@ #include // for std::stable_partition #include +#include #include // for boost::bind #include // for boost::begin(range) #include // for boost::end(range) diff --git a/include/boost/algorithm/hex.hpp b/include/boost/algorithm/hex.hpp index b833584..446a5b1 100644 --- a/include/boost/algorithm/hex.hpp +++ b/include/boost/algorithm/hex.hpp @@ -23,6 +23,7 @@ #include // for std::iterator_traits #include +#include #include #include #include diff --git a/include/boost/algorithm/is_palindrome.hpp b/include/boost/algorithm/is_palindrome.hpp index 0988110..8e1df18 100644 --- a/include/boost/algorithm/is_palindrome.hpp +++ b/include/boost/algorithm/is_palindrome.hpp @@ -19,6 +19,7 @@ #include #include +#include #include #include diff --git a/include/boost/algorithm/is_partitioned_until.hpp b/include/boost/algorithm/is_partitioned_until.hpp index 42683e1..bf3ac67 100644 --- a/include/boost/algorithm/is_partitioned_until.hpp +++ b/include/boost/algorithm/is_partitioned_until.hpp @@ -12,6 +12,7 @@ #ifndef BOOST_ALGORITHM_IS_PARTITIONED_UNTIL_HPP #define BOOST_ALGORITHM_IS_PARTITIONED_UNTIL_HPP +#include #include #include diff --git a/include/boost/algorithm/minmax.hpp b/include/boost/algorithm/minmax.hpp index 053a7d6..c1aadb2 100644 --- a/include/boost/algorithm/minmax.hpp +++ b/include/boost/algorithm/minmax.hpp @@ -25,6 +25,7 @@ * */ +#include #include // for using pairs with boost::cref #include diff --git a/include/boost/algorithm/minmax_element.hpp b/include/boost/algorithm/minmax_element.hpp index 752f6cb..651a552 100644 --- a/include/boost/algorithm/minmax_element.hpp +++ b/include/boost/algorithm/minmax_element.hpp @@ -28,6 +28,8 @@ #include // for std::pair and std::make_pair +#include + namespace boost { namespace detail { // for obtaining a uniform version of minmax_element diff --git a/include/boost/algorithm/searching/boyer_moore.hpp b/include/boost/algorithm/searching/boyer_moore.hpp index 192d4de..4bf7657 100644 --- a/include/boost/algorithm/searching/boyer_moore.hpp +++ b/include/boost/algorithm/searching/boyer_moore.hpp @@ -12,6 +12,7 @@ #include // for std::iterator_traits +#include #include #include diff --git a/include/boost/algorithm/searching/boyer_moore_horspool.hpp b/include/boost/algorithm/searching/boyer_moore_horspool.hpp index aacb5cb..dd354cc 100644 --- a/include/boost/algorithm/searching/boyer_moore_horspool.hpp +++ b/include/boost/algorithm/searching/boyer_moore_horspool.hpp @@ -12,6 +12,7 @@ #include // for std::iterator_traits +#include #include #include diff --git a/include/boost/algorithm/searching/knuth_morris_pratt.hpp b/include/boost/algorithm/searching/knuth_morris_pratt.hpp index 5b5b64a..7c1541c 100644 --- a/include/boost/algorithm/searching/knuth_morris_pratt.hpp +++ b/include/boost/algorithm/searching/knuth_morris_pratt.hpp @@ -13,6 +13,7 @@ #include #include // for std::iterator_traits +#include #include #include diff --git a/include/boost/algorithm/sort_subrange.hpp b/include/boost/algorithm/sort_subrange.hpp index 7fb2cb5..700dd6d 100644 --- a/include/boost/algorithm/sort_subrange.hpp +++ b/include/boost/algorithm/sort_subrange.hpp @@ -22,6 +22,7 @@ #include // For std::iterator_traits #include // For nth_element and partial_sort +#include #include #include