diff --git a/include/boost/type_traits/is_convertible.hpp b/include/boost/type_traits/is_convertible.hpp index 3479d88..878d247 100644 --- a/include/boost/type_traits/is_convertible.hpp +++ b/include/boost/type_traits/is_convertible.hpp @@ -192,7 +192,11 @@ struct is_convertible_forwarder } // namespace detail +#if defined(__BORLANDC__) && (__BORLANDC__ <= 0x551) +BOOST_TT_AUX_BOOL_TRAIT_DEF2(is_convertible,From,To,(::boost::detail::is_convertible_impl::value)) +#else BOOST_TT_AUX_BOOL_TRAIT_DEF2(is_convertible,From,To,(::boost::detail::is_convertible_forwarder::value)) +#endif // // Now add the full and partial specialisations @@ -284,3 +288,4 @@ TT_AUX_IS_CONVERTIBLE_FROM_FLOAT_CV_SPEC(long double) #endif // BOOST_TT_IS_CONVERTIBLE_HPP_INCLUDED +