diff --git a/include/boost/iterator_adaptors.hpp b/include/boost/iterator_adaptors.hpp index a16b7f0..18e7c9c 100644 --- a/include/boost/iterator_adaptors.hpp +++ b/include/boost/iterator_adaptors.hpp @@ -1354,9 +1354,9 @@ namespace detail { template struct reduce_to_base_class { - BOOST_STATIC_CONSTANT(bool, convertible = (::boost::is_convertible::value)); - typedef typename if_true::template then::type type; + typedef typename if_true<( + ::boost::is_convertible::value + )>::template then::type type; }; // "Steps down" the category of iterators below bidirectional so the category