diff --git a/include/boost/typeof/msvc/typeof_impl.hpp b/include/boost/typeof/msvc/typeof_impl.hpp index 6b5a09b..3ce3544 100755 --- a/include/boost/typeof/msvc/typeof_impl.hpp +++ b/include/boost/typeof/msvc/typeof_impl.hpp @@ -153,7 +153,12 @@ namespace boost typedef char(*type)[encode_type::value]; }; -# if BOOST_WORKAROUND(BOOST_MSVC,>=1300) +# ifdef BOOST_NO_SFINAE + + template + typename sizer::type encode_start(T const&); + +# else template typename disable_if< typename is_function::type, @@ -163,11 +168,6 @@ namespace boost typename is_function::type, typename sizer::type>::type encode_start(T&); -# else - - template - typename sizer::type encode_start(T const&); - # endif } }