diff --git a/include/boost/multi_array/iterator_adaptors.hpp b/include/boost/multi_array/iterator_adaptors.hpp index 1e38e66..612e36c 100644 --- a/include/boost/multi_array/iterator_adaptors.hpp +++ b/include/boost/multi_array/iterator_adaptors.hpp @@ -690,7 +690,7 @@ namespace detail { // This macro definition is only temporary in this file -# if !defined(BOOST_MSVC) +# if !defined(BOOST_MSVC) || BOOST_MSVC > 1300 # define BOOST_ARG_DEPENDENT_TYPENAME typename # else # define BOOST_ARG_DEPENDENT_TYPENAME @@ -779,7 +779,7 @@ struct iterator_adaptor : policies().initialize(base()); } -#if defined(BOOST_MSVC) || defined(__BORLANDC__) +#if defined(BOOST_MSVC) && BOOST_MSVC <= 1300 || defined(__BORLANDC__) // This is required to prevent a bug in how VC++ generates // the assignment operator for compressed_pairv iterator_adaptor& operator= (const iterator_adaptor& x) { diff --git a/include/boost/multi_array/multi_array_ref.hpp b/include/boost/multi_array/multi_array_ref.hpp index ef41b98..ca9dcd9 100644 --- a/include/boost/multi_array/multi_array_ref.hpp +++ b/include/boost/multi_array/multi_array_ref.hpp @@ -212,7 +212,7 @@ public: } // see generate_array_view in base.hpp -#ifndef BOOST_MSVC +#if !defined(BOOST_MSVC) || BOOST_MSVC > 1300 template #else template // else ICE @@ -499,7 +499,7 @@ public: // See note attached to generate_array_view in base.hpp -#ifndef BOOST_MSVC +#if !defined(BOOST_MSVC) || BOOST_MSVC > 1300 template #else template // else ICE @@ -559,7 +559,7 @@ public: } // See note attached to generate_array_view in base.hpp -#ifndef BOOST_MSVC +#if !defined(BOOST_MSVC) || BOOST_MSVC > 1300 template #else template // else ICE diff --git a/include/boost/multi_array/subarray.hpp b/include/boost/multi_array/subarray.hpp index cd7e39a..793015d 100644 --- a/include/boost/multi_array/subarray.hpp +++ b/include/boost/multi_array/subarray.hpp @@ -86,7 +86,7 @@ public: } // see generate_array_view in base.hpp -#ifndef BOOST_MSVC +#if !defined(BOOST_MSVC) || BOOST_MSVC > 1300 template #else template // else ICE @@ -265,7 +265,7 @@ public: } // see generate_array_view in base.hpp -#ifndef BOOST_MSVC +#if !defined(BOOST_MSVC) || BOOST_MSVC > 1300 template #else template // else ICE @@ -325,7 +325,7 @@ public: } // see generate_array_view in base.hpp -#ifndef BOOST_MSVC +#if !defined(BOOST_MSVC) || BOOST_MSVC > 1300 template #else template // else ICE diff --git a/include/boost/multi_array/view.hpp b/include/boost/multi_array/view.hpp index 8d19e1c..fae717b 100644 --- a/include/boost/multi_array/view.hpp +++ b/include/boost/multi_array/view.hpp @@ -123,7 +123,7 @@ public: } // see generate_array_view in base.hpp -#ifndef BOOST_MSVC +#if !defined(BOOST_MSVC) || BOOST_MSVC > 1300 template #else template // else ICE @@ -331,7 +331,7 @@ public: // see generate_array_view in base.hpp -#ifndef BOOST_MSVC +#if !defined(BOOST_MSVC) || BOOST_MSVC > 1300 template #else template // else ICE @@ -383,7 +383,7 @@ public: } // see generate_array_view in base.hpp -#ifndef BOOST_MSVC +#if !defined(BOOST_MSVC) || BOOST_MSVC > 1300 template #else template // else ICE