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)