diff --git a/include/boost/range/sub_range.hpp b/include/boost/range/sub_range.hpp index 2c6ae35..33fba98 100755 --- a/include/boost/range/sub_range.hpp +++ b/include/boost/range/sub_range.hpp @@ -13,6 +13,7 @@ #include #include +#include #include #include #include @@ -27,9 +28,9 @@ namespace boost typedef iterator_range< iterator_t > base; public: - using BOOST_DEDUCED_TYPENAME base::value_type; - using BOOST_DEDUCED_TYPENAME base::iterator; - typedef BOOST_DEDUCED_TYPENAME const_iterator_of::type const_iterator; + typedef BOOST_DEDUCED_TYPENAME value_type_of::type value_type; + typedef BOOST_DEDUCED_TYPENAME result_iterator_of::type iterator; + typedef BOOST_DEDUCED_TYPENAME const_iterator_of::type const_iterator; typedef BOOST_DEDUCED_TYPENAME difference_type_of::type difference_type; typedef BOOST_DEDUCED_TYPENAME size_type_of::type size_type;