diff --git a/include/boost/fusion/sequence/view/zip_view/zip_view.hpp b/include/boost/fusion/sequence/view/zip_view/zip_view.hpp index 23ef2e05..563d853f 100644 --- a/include/boost/fusion/sequence/view/zip_view/zip_view.hpp +++ b/include/boost/fusion/sequence/view/zip_view/zip_view.hpp @@ -54,15 +54,15 @@ namespace boost { namespace fusion { template struct result { - static int const int_max = static_cast( - static_cast(~0) >> 1); + static int const high_int = static_cast( + (static_cast(~0) >> 1) - 1); typedef typename remove_reference::type SeqClass; typedef typename mpl::eval_if< traits::is_forward, result_of::size, - mpl::int_ >::type type; + mpl::int_ >::type type; }; };