From b159898a47491bcdc855ecc61b3256e74d611785 Mon Sep 17 00:00:00 2001 From: Joel de Guzman Date: Mon, 30 Jan 2012 00:13:38 +0000 Subject: [PATCH] Fix missed merge from 6338 [SVN r76791] --- .../boost/fusion/view/iterator_range/detail/at_impl.hpp | 2 +- .../iterator_range/detail/segmented_iterator_range.hpp | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/include/boost/fusion/view/iterator_range/detail/at_impl.hpp b/include/boost/fusion/view/iterator_range/detail/at_impl.hpp index 5f882aaa..1b425231 100644 --- a/include/boost/fusion/view/iterator_range/detail/at_impl.hpp +++ b/include/boost/fusion/view/iterator_range/detail/at_impl.hpp @@ -33,7 +33,7 @@ namespace boost { namespace fusion static type call(Seq& s) { - return * advance(s.first); + return * fusion::advance(s.first); } }; }; diff --git a/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp b/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp index e5f5ed0b..489d9553 100644 --- a/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp +++ b/include/boost/fusion/view/iterator_range/detail/segmented_iterator_range.hpp @@ -39,11 +39,18 @@ namespace boost { namespace fusion { template struct push_back; + + template + struct push_front; } template typename result_of::push_back::type push_back(Sequence const& seq, T const& x); + + template + typename result_of::push_front::type + push_front(Sequence const& seq, T const& x); }} namespace boost { namespace fusion { namespace detail