diff --git a/include/boost/mpl/joint_view.hpp b/include/boost/mpl/joint_view.hpp index 65e7e40..199be9a 100644 --- a/include/boost/mpl/joint_view.hpp +++ b/include/boost/mpl/joint_view.hpp @@ -23,6 +23,8 @@ #include "boost/mpl/plus.hpp" #include "boost/mpl/size_fwd.hpp" +#include + namespace boost { namespace mpl { @@ -48,8 +50,14 @@ template< > struct joint_view { +#if !BOOST_WORKAROUND(BOOST_MSVC, <= 1200) private: friend struct size_traits< aux::joint_view_tag >; +# if BOOST_WORKAROUND(BOOST_MSVC, >= 1301) + template + friend struct size_traits< aux::joint_view_tag >::algorithm; +# endif +#endif typedef Sequence1_ sequence1; typedef Sequence2_ sequence2;