From fdaf89063306edc72f7ce7a6a2d202e3f41ba92e Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 21 May 2003 13:39:09 +0000 Subject: [PATCH] Workarounds for MSVC bugs [SVN r18483] --- include/boost/mpl/joint_view.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) 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;