diff --git a/include/boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp b/include/boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp index baf85db4..0c5587b9 100644 --- a/include/boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp +++ b/include/boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp @@ -19,14 +19,14 @@ namespace boost { namespace fusion { - template + template struct mpl_iterator : iterator_facade< - mpl_iterator - , typename detail::mpl_iterator_category::type + mpl_iterator + , typename detail::mpl_iterator_category::type > { - typedef typename remove_const::type iterator_type; + typedef typename remove_const::type iterator_type; template struct value_of : mpl::deref {}; diff --git a/include/boost/fusion/sequence/adapted/std_pair/Attic/std_pair_iterator.hpp b/include/boost/fusion/sequence/adapted/std_pair/Attic/std_pair_iterator.hpp index d4fb4712..fde36144 100644 --- a/include/boost/fusion/sequence/adapted/std_pair/Attic/std_pair_iterator.hpp +++ b/include/boost/fusion/sequence/adapted/std_pair/Attic/std_pair_iterator.hpp @@ -21,65 +21,65 @@ namespace boost { namespace fusion { struct random_access_traversal_tag; - template + template struct std_pair_iterator - : iterator_facade, random_access_traversal_tag> + : iterator_facade, random_access_traversal_tag> { BOOST_MPL_ASSERT_RELATION(N, >=, 0); BOOST_MPL_ASSERT_RELATION(N, <=, 2); typedef mpl::int_ index; - typedef Pair pair_type; + typedef Pair_ pair_type; - std_pair_iterator(Pair& pair) + std_pair_iterator(Pair_& pair) : pair(pair) {} - Pair& pair; + Pair_& pair; template struct value_of; - template - struct value_of > - : mpl::identity {}; + template + struct value_of > + : mpl::identity {}; - template - struct value_of > - : mpl::identity {}; + template + struct value_of > + : mpl::identity {}; template struct deref; - template - struct deref > + template + struct deref > { typedef typename mpl::if_< - is_const - , typename Pair_::first_type const& - , typename Pair_::first_type& + is_const + , typename Pair::first_type const& + , typename Pair::first_type& >::type type; static type - call(std_pair_iterator const& iter) + call(std_pair_iterator const& iter) { return iter.pair.first; } }; - template - struct deref > + template + struct deref > { typedef typename mpl::if_< - is_const - , typename Pair_::second_type const& - , typename Pair_::second_type& + is_const + , typename Pair::second_type const& + , typename Pair::second_type& >::type type; static type - call(std_pair_iterator const& iter) + call(std_pair_iterator const& iter) { return iter.pair.second; } diff --git a/include/boost/fusion/sequence/adapted/std_pair/std_pair_iterator.hpp b/include/boost/fusion/sequence/adapted/std_pair/std_pair_iterator.hpp index d4fb4712..fde36144 100644 --- a/include/boost/fusion/sequence/adapted/std_pair/std_pair_iterator.hpp +++ b/include/boost/fusion/sequence/adapted/std_pair/std_pair_iterator.hpp @@ -21,65 +21,65 @@ namespace boost { namespace fusion { struct random_access_traversal_tag; - template + template struct std_pair_iterator - : iterator_facade, random_access_traversal_tag> + : iterator_facade, random_access_traversal_tag> { BOOST_MPL_ASSERT_RELATION(N, >=, 0); BOOST_MPL_ASSERT_RELATION(N, <=, 2); typedef mpl::int_ index; - typedef Pair pair_type; + typedef Pair_ pair_type; - std_pair_iterator(Pair& pair) + std_pair_iterator(Pair_& pair) : pair(pair) {} - Pair& pair; + Pair_& pair; template struct value_of; - template - struct value_of > - : mpl::identity {}; + template + struct value_of > + : mpl::identity {}; - template - struct value_of > - : mpl::identity {}; + template + struct value_of > + : mpl::identity {}; template struct deref; - template - struct deref > + template + struct deref > { typedef typename mpl::if_< - is_const - , typename Pair_::first_type const& - , typename Pair_::first_type& + is_const + , typename Pair::first_type const& + , typename Pair::first_type& >::type type; static type - call(std_pair_iterator const& iter) + call(std_pair_iterator const& iter) { return iter.pair.first; } }; - template - struct deref > + template + struct deref > { typedef typename mpl::if_< - is_const - , typename Pair_::second_type const& - , typename Pair_::second_type& + is_const + , typename Pair::second_type const& + , typename Pair::second_type& >::type type; static type - call(std_pair_iterator const& iter) + call(std_pair_iterator const& iter) { return iter.pair.second; }