Index: ./boost_1_42_0/boost/intrusive/detail/mpl.hpp =================================================================== --- ./boost_1_42_0/boost/intrusive/detail/mpl.hpp (old) +++ ./boost_1_42_0/boost/intrusive/detail/mpl.hpp (new) @@ -138,6 +138,8 @@ struct is_unary_or_binary_function_impl { static const bool value = false; }; +#ifndef BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS + template struct is_unary_or_binary_function_impl { static const bool value = true; }; @@ -145,19 +147,11 @@ template struct is_unary_or_binary_function_impl { static const bool value = true; }; -/* -#ifdef BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS - -template -struct is_unary_or_binary_function_impl -{ static const bool value = true; }; -template -struct is_unary_or_binary_function_impl -{ static const bool value = true; }; +#else // BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS template -struct is_unary_or_binary_function_impl +struct is_unary_or_binary_function_impl { static const bool value = true; }; template @@ -165,18 +159,17 @@ { static const bool value = true; }; template -struct is_unary_or_binary_function_impl -{ static const bool value = true; }; - -template struct is_unary_or_binary_function_impl { static const bool value = true; }; template struct is_unary_or_binary_function_impl { static const bool value = true; }; + #endif -*/ + +#ifndef BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS + template struct is_unary_or_binary_function_impl { static const bool value = true; }; @@ -185,34 +178,28 @@ struct is_unary_or_binary_function_impl { static const bool value = true; }; -#ifdef BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS +#else // BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS template struct is_unary_or_binary_function_impl { static const bool value = true; }; -/* -template -struct is_unary_or_binary_function_impl -{ static const bool value = true; }; template struct is_unary_or_binary_function_impl { static const bool value = true; }; template -struct is_unary_or_binary_function_impl -{ static const bool value = true; }; - -template struct is_unary_or_binary_function_impl { static const bool value = true; }; template struct is_unary_or_binary_function_impl { static const bool value = true; }; -*/ + #endif +#ifndef BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS + template struct is_unary_or_binary_function_impl { static const bool value = true; }; @@ -220,15 +207,11 @@ template struct is_unary_or_binary_function_impl { static const bool value = true; }; -/* -#ifdef BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS -template -struct is_unary_or_binary_function_impl -{ static const bool value = true; }; +#else // BOOST_INTRUSIVE_TT_TEST_MSC_FUNC_SIGS template -struct is_unary_or_binary_function_impl +struct is_unary_or_binary_function_impl { static const bool value = true; }; template @@ -236,10 +219,6 @@ { static const bool value = true; }; template -struct is_unary_or_binary_function_impl -{ static const bool value = true; }; - -template struct is_unary_or_binary_function_impl { static const bool value = true; }; @@ -247,7 +226,7 @@ struct is_unary_or_binary_function_impl { static const bool value = true; }; #endif -*/ + template struct is_unary_or_binary_function_impl { static const bool value = false; };