diff --git a/include/boost/iterator_adaptors.hpp b/include/boost/iterator_adaptors.hpp index f0ef010..b383bc3 100644 --- a/include/boost/iterator_adaptors.hpp +++ b/include/boost/iterator_adaptors.hpp @@ -382,7 +382,7 @@ namespace detail { }; -# ifdef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION +# if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || defined(BOOST_NO_STD_ITERATOR_TRAITS) // Select default pointer and reference types for adapted non-pointer // iterators based on the iterator and the value_type. Poor man's partial