diff --git a/include/boost/iterator_adaptors.hpp b/include/boost/iterator_adaptors.hpp index 4dec933..6fc8bd6 100644 --- a/include/boost/iterator_adaptors.hpp +++ b/include/boost/iterator_adaptors.hpp @@ -625,7 +625,7 @@ namespace detail { template struct is_named_parameter { - enum { value = is_convertible::value }; + enum { value = is_convertible< add_reference< Value >::type, add_reference< named_template_param_base >::type >::value }; }; # if defined(__MWERKS__) && __MWERKS__ <= 0x2406 // workaround for broken is_convertible implementation