diff --git a/include/boost/iterator/detail/minimum_category.hpp b/include/boost/iterator/detail/minimum_category.hpp index 89d79db..b82a9e6 100755 --- a/include/boost/iterator/detail/minimum_category.hpp +++ b/include/boost/iterator/detail/minimum_category.hpp @@ -24,6 +24,10 @@ template struct minimum_category_impl # if BOOST_WORKAROUND(BOOST_MSVC, == 1200) { + template struct apply + { + typedef T2 type; + }; typedef void type; } # endif @@ -82,7 +86,7 @@ struct minimum_category || is_same::value # endif > outer; - + typedef typename outer::template apply inner; typedef typename inner::type type; @@ -96,7 +100,7 @@ struct minimum_category struct apply : minimum_category {}; }; - + # if BOOST_WORKAROUND(BOOST_MSVC, == 1200) // ETI workaround template <> struct minimum_category @@ -104,7 +108,7 @@ struct minimum_category typedef int type; }; # endif - + }} // namespace boost::detail #endif // MINIMUM_CATEGORY_DWA20031119_HPP