diff --git a/include/boost/mpl/aux_/filter_iter.hpp b/include/boost/mpl/aux_/filter_iter.hpp
index 912654c..8c117af 100644
--- a/include/boost/mpl/aux_/filter_iter.hpp
+++ b/include/boost/mpl/aux_/filter_iter.hpp
@@ -60,7 +60,7 @@ struct filter_iter
typedef Iterator base;
typedef forward_iterator_tag category;
typedef typename aux::next_filter_iter<
- typename next::type
+ typename mpl::next::type
, LastIterator
, Predicate
>::type next;
@@ -93,7 +93,7 @@ struct filter_iter_impl
typedef Iterator base;
typedef forward_iterator_tag category;
typedef typename next_filter_iter<
- typename next::type
+ typename mpl::next::type
, LastIterator
, Predicate
>::type next;
diff --git a/include/boost/mpl/aux_/joint_iter.hpp b/include/boost/mpl/aux_/joint_iter.hpp
index a09b423..65caef6 100644
--- a/include/boost/mpl/aux_/joint_iter.hpp
+++ b/include/boost/mpl/aux_/joint_iter.hpp
@@ -37,7 +37,7 @@ struct joint_iter
typedef Iterator1 base;
typedef forward_iterator_tag category;
typedef joint_iter<
- typename next::type
+ typename mpl::next::type
, LastIterator1
, Iterator2
> next;
@@ -56,7 +56,7 @@ struct joint_iter
typedef joint_iter<
LastIterator1
, LastIterator1
- , typename next::type
+ , typename mpl::next::type
> next;
typedef typename deref::type type;
@@ -85,7 +85,7 @@ template< bool > struct joint_iter_impl
typedef Iterator1 base;
typedef forward_iterator_tag category;
typedef joint_iter<
- typename next::type
+ typename mpl::next::type
, LastIterator1
, Iterator2
> next;
@@ -108,7 +108,7 @@ template<> struct joint_iter_impl
typedef joint_iter<
LastIterator1
, LastIterator1
- , typename next::type
+ , typename mpl::next::type
> next;
typedef typename deref::type type;
diff --git a/include/boost/mpl/aux_/range_c/iterator.hpp b/include/boost/mpl/aux_/range_c/iterator.hpp
index b61501c..11f4b91 100644
--- a/include/boost/mpl/aux_/range_c/iterator.hpp
+++ b/include/boost/mpl/aux_/range_c/iterator.hpp
@@ -29,8 +29,8 @@ struct rc_iter
typedef random_access_iterator_tag category;
typedef N type;
- typedef rc_iter::type> next;
- typedef rc_iter::type> prior;
+ typedef rc_iter::type> next;
+ typedef rc_iter::type> prior;
template< typename D >
struct BOOST_MPL_AUX_ITERATOR_ADVANCE
diff --git a/include/boost/mpl/aux_/transform_iter.hpp b/include/boost/mpl/aux_/transform_iter.hpp
index 59ca315..1d5687a 100644
--- a/include/boost/mpl/aux_/transform_iter.hpp
+++ b/include/boost/mpl/aux_/transform_iter.hpp
@@ -37,7 +37,7 @@ struct transform_iter
{
typedef Iterator base;
typedef forward_iterator_tag category;
- typedef transform_iter< typename next::type,LastIterator,F > next;
+ typedef transform_iter< typename mpl::next::type,LastIterator,F > next;
typedef typename apply1<
F
@@ -76,7 +76,7 @@ struct transform_iter_impl
{
typedef Iterator base;
typedef forward_iterator_tag category;
- typedef transform_iter< typename next::type,LastIterator,F > next;
+ typedef transform_iter< typename mpl::next::type,LastIterator,F > next;
typedef typename apply1<
F
diff --git a/include/boost/mpl/list/aux_/iterator.hpp b/include/boost/mpl/list/aux_/iterator.hpp
index 387eb13..17810dc 100644
--- a/include/boost/mpl/list/aux_/iterator.hpp
+++ b/include/boost/mpl/list/aux_/iterator.hpp
@@ -27,7 +27,7 @@ struct l_iter
typedef aux::l_iter_tag tag;
typedef forward_iterator_tag category;
typedef typename Node::item type;
- typedef l_iter::type> next;
+ typedef l_iter< typename mpl::next::type > next;
};
template<> struct l_iter
diff --git a/include/boost/mpl/pair_view.hpp b/include/boost/mpl/pair_view.hpp
index 77e5ff1..575721f 100644
--- a/include/boost/mpl/pair_view.hpp
+++ b/include/boost/mpl/pair_view.hpp
@@ -41,8 +41,8 @@ struct pair_iter_ops
{
template< typename I1, typename I2 > struct result_
{
- typedef typename next::type i1_;
- typedef typename next::type i2_;
+ typedef typename mpl::next::type i1_;
+ typedef typename mpl::next::type i2_;
typedef pair_iter next;
};
};
@@ -54,12 +54,12 @@ struct pair_iter_ops
{
typedef bidirectional_iterator_tag category;
- typedef typename next::type i1_;
- typedef typename next::type i2_;
+ typedef typename mpl::next::type i1_;
+ typedef typename mpl::next::type i2_;
typedef pair_iter next;
- typedef typename prior::type k1_;
- typedef typename prior::type k2_;
+ typedef typename mpl::prior::type k1_;
+ typedef typename mpl::prior::type k2_;
typedef pair_iter prior;
};
};
@@ -71,12 +71,12 @@ struct pair_iter_ops
{
typedef random_access_iterator_tag category;
- typedef typename next::type i1_;
- typedef typename next::type i2_;
+ typedef typename mpl::next::type i1_;
+ typedef typename mpl::next::type i2_;
typedef pair_iter next;
- typedef typename prior::type k1_;
- typedef typename prior::type k2_;
+ typedef typename mpl::prior::type k1_;
+ typedef typename mpl::prior::type k2_;
typedef pair_iter prior;
template< typename Distance > struct BOOST_MPL_AUX_ITERATOR_ADVANCE
@@ -112,30 +112,30 @@ struct pair_iter
template< typename I1, typename I2, typename C >
struct next< pair_iter >
{
- typedef typename next::type i1_;
- typedef typename next::type i2_;
+ typedef typename mpl::next::type i1_;
+ typedef typename mpl::next::type i2_;
typedef pair_iter type;
};
template< typename I1, typename I2, typename C >
struct prior< pair_iter >
{
- typedef typename prior::type i1_;
- typedef typename prior::type i2_;
+ typedef typename mpl::prior::type i1_;
+ typedef typename mpl::prior::type i2_;
typedef pair_iter type;
};
template< typename I1, typename I2, typename C, typename Distance >
struct advance< pair_iter,Distance>
{
- typedef typename advance::type iter1_;
- typedef typename advance::type iter2_;
+ typedef typename mpl::advance::type iter1_;
+ typedef typename mpl::advance::type iter2_;
typedef pair_iter type;
};
template< typename I1, typename I2, typename K1, typename K2, typename C >
struct distance< pair_iter, pair_iter >
- : distance
+ : mpl::distance
{
};