From 77c1698c6edc67eb6b694928a144e38af93f0a77 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 11 Sep 2002 05:35:41 +0000 Subject: [PATCH] mpl_v2 branch checkin [SVN r15258] --- include/boost/iterator_adaptors.hpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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