From 4547b1a5fe3ac78779f8fc675eba3d94da686908 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Fri, 17 Jul 2020 01:52:08 +0300 Subject: [PATCH 1/4] Add missing include This patch allows the header to be built standalone, as part of clang C++ modules builds. --- include/boost/algorithm/string/detail/find_format_all.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/algorithm/string/detail/find_format_all.hpp b/include/boost/algorithm/string/detail/find_format_all.hpp index 52930c8..311fa26 100644 --- a/include/boost/algorithm/string/detail/find_format_all.hpp +++ b/include/boost/algorithm/string/detail/find_format_all.hpp @@ -18,6 +18,8 @@ #include #include +#include + namespace boost { namespace algorithm { namespace detail { From 68100d9198ef1ba978523a79aca92917b31dd832 Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Fri, 17 Jul 2020 08:16:46 +0300 Subject: [PATCH 2/4] Add missing includes This patch allows the header to be built standalone, as part of clang C++ modules builds. --- include/boost/algorithm/string/detail/case_conv.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/boost/algorithm/string/detail/case_conv.hpp b/include/boost/algorithm/string/detail/case_conv.hpp index 3ba317f..188602a 100644 --- a/include/boost/algorithm/string/detail/case_conv.hpp +++ b/include/boost/algorithm/string/detail/case_conv.hpp @@ -15,6 +15,9 @@ #include #include +#include +#include +#include #include namespace boost { From 49d284392c0f5144b6d744f98d7369a1266e741a Mon Sep 17 00:00:00 2001 From: Vassil Vassilev Date: Fri, 17 Jul 2020 11:06:33 +0300 Subject: [PATCH 3/4] Add missing include This patch allows the header to be built standalone, as part of clang C++ modules builds --- include/boost/algorithm/string/detail/classification.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/boost/algorithm/string/detail/classification.hpp b/include/boost/algorithm/string/detail/classification.hpp index febf8b7..30a37c6 100644 --- a/include/boost/algorithm/string/detail/classification.hpp +++ b/include/boost/algorithm/string/detail/classification.hpp @@ -13,10 +13,12 @@ #include #include +#include #include #include #include +#include #include #include From 8c26a50a12f9e312420af99d55fc09324178ffd5 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Thu, 12 Nov 2020 08:32:46 -0800 Subject: [PATCH 4/4] Fix incorrect include guards (copypasta). Thanks to Anton Vasin (tony-space) for the bug report and fix --- include/boost/algorithm/cxx17/inclusive_scan.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/algorithm/cxx17/inclusive_scan.hpp b/include/boost/algorithm/cxx17/inclusive_scan.hpp index 5781267..fcc9bc2 100644 --- a/include/boost/algorithm/cxx17/inclusive_scan.hpp +++ b/include/boost/algorithm/cxx17/inclusive_scan.hpp @@ -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 // for std::plus #include // 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