diff --git a/include/boost/python/detail/indirect_traits.hpp b/include/boost/python/detail/indirect_traits.hpp index a3e67dd3..bcfdd79a 100644 --- a/include/boost/python/detail/indirect_traits.hpp +++ b/include/boost/python/detail/indirect_traits.hpp @@ -25,6 +25,14 @@ struct is_reference_to_const BOOST_STATIC_CONSTANT(bool, value = true); }; +# if defined(BOOST_MSVC) && _MSC_FULL_VER <= 13012108 // vc7.01 alpha workaround +template +struct is_reference_to_const +{ + static const bool value = true; +}; +# endif + # if 0 // Corresponding code doesn't work on MSVC yet template struct is_reference_to_function @@ -112,6 +120,15 @@ struct is_reference_to_volatile BOOST_STATIC_CONSTANT(bool, value = true); }; +# if defined(BOOST_MSVC) && _MSC_FULL_VER <= 13012108 // vc7.01 alpha workaround +template +struct is_reference_to_volatile +{ + static const bool value = true; +}; +# endif + + template struct is_reference_to_pointer {