From b09811392e1a2f1284787bc57d2614b78a0b33ac Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 14 Dec 2004 22:12:04 +0000 Subject: [PATCH] eti workarounds [SVN r26507] --- include/boost/mpl/key_type.hpp | 8 ++++++++ include/boost/mpl/value_type.hpp | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/include/boost/mpl/key_type.hpp b/include/boost/mpl/key_type.hpp index 252515e..f129fc8 100644 --- a/include/boost/mpl/key_type.hpp +++ b/include/boost/mpl/key_type.hpp @@ -35,6 +35,14 @@ struct key_type BOOST_MPL_AUX_NA_SPEC(2, key_type) +#if BOOST_MPL_CFG_MSVC_60_ETI_BUG +template<> +struct key_type +{ + typedef int type; +}; +#endif + }} #endif // BOOST_MPL_KEY_TYPE_HPP_INCLUDED diff --git a/include/boost/mpl/value_type.hpp b/include/boost/mpl/value_type.hpp index 953fd63..ffcf59d 100755 --- a/include/boost/mpl/value_type.hpp +++ b/include/boost/mpl/value_type.hpp @@ -35,6 +35,15 @@ struct value_type BOOST_MPL_AUX_NA_SPEC(2, value_type) +#if BOOST_MPL_CFG_MSVC_60_ETI_BUG +template<> +struct value_type +{ + typedef int type; +}; +#endif + + }} #endif // BOOST_MPL_VALUE_TYPE_HPP_INCLUDED