From d8d881ac6fa760527d6c902642887b4d0808d4de Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Sun, 14 Sep 2008 04:46:32 +0000 Subject: [PATCH] attempt to work around early instantiation problem on edg-based compilers [SVN r48769] --- .../boost/fusion/view/ext_/segmented_iterator.hpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) mode change 100755 => 100644 include/boost/fusion/view/ext_/segmented_iterator.hpp diff --git a/include/boost/fusion/view/ext_/segmented_iterator.hpp b/include/boost/fusion/view/ext_/segmented_iterator.hpp old mode 100755 new mode 100644 index ad099bed..0a192bdc --- a/include/boost/fusion/view/ext_/segmented_iterator.hpp +++ b/include/boost/fusion/view/ext_/segmented_iterator.hpp @@ -47,6 +47,15 @@ namespace boost { namespace fusion : is_empty {}; + //////////////////////////////////////////////////////////////////////////// + struct not_is_empty_pred + { + template + struct apply + : not_ > + {}; + }; + struct segmented_range_tag; //////////////////////////////////////////////////////////////////////////// @@ -64,7 +73,7 @@ namespace boost { namespace fusion // If this is a range of segments, skip over the empty ones typedef typename mpl::if_< is_segmented - , filter_view > > + , filter_view , Sequence >::type sequence_non_ref_type; @@ -196,7 +205,7 @@ namespace boost { namespace fusion { typedef typename result_of::segments::type segments; typedef typename remove_reference::type sequence; - typedef typename result_of::begin > > >::type begin; + typedef typename result_of::begin >::type begin; typedef segmented_range type; static type call(Sequence &seq)