From 2726efa8c1453546cd789bcc398b464c2d355bfb Mon Sep 17 00:00:00 2001 From: Nathan Ridge Date: Fri, 21 Dec 2012 08:47:14 +0000 Subject: [PATCH] [range] merged bug fixes (r81890, refs #5603; r82071, refs #6103) from trunk [SVN r82139] --- include/boost/range/algorithm/search_n.hpp | 4 ++-- include/boost/range/detail/any_iterator.hpp | 2 ++ include/boost/range/detail/any_iterator_interface.hpp | 6 +++++- include/boost/range/detail/any_iterator_wrapper.hpp | 2 ++ 4 files changed, 11 insertions(+), 3 deletions(-) mode change 100755 => 100644 include/boost/range/algorithm/search_n.hpp diff --git a/include/boost/range/algorithm/search_n.hpp b/include/boost/range/algorithm/search_n.hpp old mode 100755 new mode 100644 index ca2b6ef..ccfb27a --- a/include/boost/range/algorithm/search_n.hpp +++ b/include/boost/range/algorithm/search_n.hpp @@ -20,8 +20,6 @@ namespace boost { - namespace range - { namespace range_detail { @@ -235,6 +233,8 @@ namespace range_detail } } // namespace range_detail +namespace range { + /// \brief template function search /// /// range-based version of the search std algorithm diff --git a/include/boost/range/detail/any_iterator.hpp b/include/boost/range/detail/any_iterator.hpp index 5705ff0..42991cc 100644 --- a/include/boost/range/detail/any_iterator.hpp +++ b/include/boost/range/detail/any_iterator.hpp @@ -14,12 +14,14 @@ #include #include #include +#include #include #include #include #include #include #include +#include namespace boost { diff --git a/include/boost/range/detail/any_iterator_interface.hpp b/include/boost/range/detail/any_iterator_interface.hpp index d8f4de7..2451491 100644 --- a/include/boost/range/detail/any_iterator_interface.hpp +++ b/include/boost/range/detail/any_iterator_interface.hpp @@ -11,8 +11,12 @@ #define BOOST_RANGE_DETAIL_ANY_ITERATOR_INTERFACE_HPP_INCLUDED #include -#include +#include #include +#include +#include +#include +#include namespace boost { diff --git a/include/boost/range/detail/any_iterator_wrapper.hpp b/include/boost/range/detail/any_iterator_wrapper.hpp index b5313a7..502e3e8 100644 --- a/include/boost/range/detail/any_iterator_wrapper.hpp +++ b/include/boost/range/detail/any_iterator_wrapper.hpp @@ -10,8 +10,10 @@ #ifndef BOOST_RANGE_DETAIL_ANY_ITERATOR_WRAPPER_HPP_INCLUDED #define BOOST_RANGE_DETAIL_ANY_ITERATOR_WRAPPER_HPP_INCLUDED +#include #include #include +#include namespace boost {