Roll back MPL v2 fix as it's no longer needed and was breaking Borland

[SVN r15264]
This commit is contained in:
Dave Abrahams
2002-09-11 14:46:40 +00:00
parent 77c1698c6e
commit 5bacd289b6

View File

@ -1354,9 +1354,9 @@ namespace detail {
template <class Base, class T>
struct reduce_to_base_class
{
BOOST_STATIC_CONSTANT(bool, convertible = (::boost::is_convertible<T*,Base*>::value));
typedef typename if_true<convertible
>::template then<Base,T>::type type;
typedef typename if_true<(
::boost::is_convertible<T*,Base*>::value
)>::template then<Base,T>::type type;
};
// "Steps down" the category of iterators below bidirectional so the category