fix typeof bug on msvc-7.1 that is causing type_traits/common_type.hpp to fail to compile

[SVN r66662]
This commit is contained in:
Eric Niebler
2010-11-21 21:42:52 +00:00
parent 85eed8ff60
commit 4fab1b5d17

4
include/boost/typeof/msvc/typeof_impl.hpp Executable file → Normal file
View File

@ -153,7 +153,9 @@ namespace boost
};
};
# endif
# if BOOST_WORKAROUND(BOOST_MSVC,==1310)
// EAN: preprocess this block out on advice of Peder Holt
// to eliminate errors in type_traits/common_type.hpp
# if 0 //BOOST_WORKAROUND(BOOST_MSVC,==1310)
template<const std::type_info& ref_type_info>
struct msvc_typeid_wrapper {
typedef typename msvc_extract_type<msvc_typeid_wrapper>::id2type id2type;