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