diff --git a/include/boost/iterator/detail/config_def.hpp b/include/boost/iterator/detail/config_def.hpp index c31d71c..1a3ecc5 100644 --- a/include/boost/iterator/detail/config_def.hpp +++ b/include/boost/iterator/detail/config_def.hpp @@ -79,47 +79,6 @@ #endif -#if BOOST_WORKAROUND(BOOST_MSVC, <= 1300) \ - || BOOST_WORKAROUND(__GNUC__, <= 2 && __GNUC_MINOR__ <= 95) \ - || BOOST_WORKAROUND(__MWERKS__, <= 0x3000) \ - || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551)) -# define BOOST_NO_SFINAE // "Substitution Failure Is Not An Error not implemented" - -# if 0 // test code - template - struct bar - { - typedef int type; - }; - - template <> - struct bar - { - }; - - - template - struct foo : bar<(sizeof(T) == 1)> - { - }; - - template - char* f(int, typename foo::type = 0) { return 0; } - - template - int f(...) { return 0; } - - char* x = f(0); - int y = f(0); - - int main() - { - return 0; - } -# endif - -#endif - #if BOOST_WORKAROUND(__MWERKS__, <=0x2407) # define BOOST_NO_IS_CONVERTIBLE // "is_convertible doesn't work for simple types" #endif diff --git a/include/boost/iterator/detail/config_undef.hpp b/include/boost/iterator/detail/config_undef.hpp index f93adae..535b486 100644 --- a/include/boost/iterator/detail/config_undef.hpp +++ b/include/boost/iterator/detail/config_undef.hpp @@ -13,7 +13,6 @@ // 23/02/03 thw // -#undef BOOST_NO_SFINAE #undef BOOST_NO_IS_CONVERTIBLE #undef BOOST_NO_IS_CONVERTIBLE_TEMPLATE #undef BOOST_NO_STRICT_ITERATOR_INTEROPERABILITY