diff --git a/doc/html/fusion/support/category_of.html b/doc/html/fusion/support/category_of.html
index 8a7f5632..c9e03fff 100644
--- a/doc/html/fusion/support/category_of.html
+++ b/doc/html/fusion/support/category_of.html
@@ -119,14 +119,14 @@
struct single_pass_sequence_tag
: incrementable_sequence_tag {};
- struct forward_sequence_tag
+ struct forward_traversal_tag
: single_pass_sequence_tag {};
- struct bidirectional_sequence_tag
- : forward_sequence_tag {};
+ struct bidirectional_traversal_tag
+ : forward_traversal_tag {};
- struct random_access_sequence_tag
- : bidirectional_sequence_tag {};
+ struct random_access_traversal_tag
+ : bidirectional_traversal_tag {};
}}
@@ -157,8 +157,8 @@
using boost::is_base_of;
typedef traits::category_of<list<> >::type list_category;
typedef traits::category_of<vector<> >::type vector_category;
-BOOST_MPL_ASSERT(( is_base_of<forward_sequence_tag, list_category> ));
-BOOST_MPL_ASSERT(( is_base_of<random_access_sequence_tag, vector_category> ));
+BOOST_MPL_ASSERT(( is_base_of<forward_traversal_tag, list_category> ));
+BOOST_MPL_ASSERT(( is_base_of<random_access_traversal_tag, vector_category> ));
diff --git a/doc/support.qbk b/doc/support.qbk
index ee6059bf..5815c4ec 100644
--- a/doc/support.qbk
+++ b/doc/support.qbk
@@ -219,14 +219,14 @@ For Sequences, the return type is derived from one of:
struct single_pass_sequence_tag
: incrementable_sequence_tag {};
- struct forward_sequence_tag
+ struct forward_traversal_tag
: single_pass_sequence_tag {};
- struct bidirectional_sequence_tag
- : forward_sequence_tag {};
+ struct bidirectional_traversal_tag
+ : forward_traversal_tag {};
- struct random_access_sequence_tag
- : bidirectional_sequence_tag {};
+ struct random_access_traversal_tag
+ : bidirectional_traversal_tag {};
}}
And optionally from:
@@ -248,8 +248,8 @@ __sequence__ or __iterator__.
using boost::is_base_of;
typedef traits::category_of<__list__<> >::type list_category;
typedef traits::category_of<__vector__<> >::type vector_category;
- BOOST_MPL_ASSERT(( is_base_of ));
- BOOST_MPL_ASSERT(( is_base_of ));
+ BOOST_MPL_ASSERT(( is_base_of ));
+ BOOST_MPL_ASSERT(( is_base_of ));
[endsect]
diff --git a/include/boost/fusion/sequence/adapted/array/detail/distance_impl.hpp b/include/boost/fusion/sequence/adapted/array/detail/distance_impl.hpp
index b504c920..062dc7d9 100644
--- a/include/boost/fusion/sequence/adapted/array/detail/distance_impl.hpp
+++ b/include/boost/fusion/sequence/adapted/array/detail/distance_impl.hpp
@@ -28,7 +28,6 @@ namespace boost { namespace fusion
{
static typename mpl::minus<
typename Last::index, typename First::index>::type
-
call(First const&, Last const&)
{
typedef typename mpl::minus<
diff --git a/include/boost/fusion/sequence/adapted/mpl/detail/category_of_impl.hpp b/include/boost/fusion/sequence/adapted/mpl/detail/category_of_impl.hpp
index 1cba8043..c196a71d 100644
--- a/include/boost/fusion/sequence/adapted/mpl/detail/category_of_impl.hpp
+++ b/include/boost/fusion/sequence/adapted/mpl/detail/category_of_impl.hpp
@@ -9,7 +9,6 @@
#if !defined(BOOST_FUSION_CATEGORY_OF_IMPL_20060217_2141)
#define BOOST_FUSION_CATEGORY_OF_IMPL_20060217_2141
-#include
#include
#include
#include
@@ -28,11 +27,9 @@ namespace boost { namespace fusion {
BOOST_STATIC_ASSERT(mpl::is_sequence::value);
typedef typename
- iterator_to_sequence_category<
- typename mpl_iterator_category<
- typename mpl::begin::type::category
- >::type
- >::type
+ mpl_iterator_category<
+ typename mpl::begin::type::category
+ >::type
type;
};
}
diff --git a/include/boost/fusion/sequence/container/list/cons.hpp b/include/boost/fusion/sequence/container/list/cons.hpp
index c3de861d..3b5e7131 100644
--- a/include/boost/fusion/sequence/container/list/cons.hpp
+++ b/include/boost/fusion/sequence/container/list/cons.hpp
@@ -30,7 +30,7 @@ namespace boost { namespace fusion
{
struct void_;
struct cons_tag;
- struct forward_sequence_tag;
+ struct forward_traversal_tag;
struct fusion_sequence_tag;
struct nil : sequence_base
@@ -39,7 +39,7 @@ namespace boost { namespace fusion
typedef cons_tag fusion_tag;
typedef fusion_sequence_tag tag; // this gets picked up by MPL
typedef mpl::false_ is_view;
- typedef forward_sequence_tag category;
+ typedef forward_traversal_tag category;
typedef void_ car_type;
typedef void_ cdr_type;
@@ -62,7 +62,7 @@ namespace boost { namespace fusion
typedef cons_tag fusion_tag;
typedef fusion_sequence_tag tag; // this gets picked up by MPL
typedef mpl::false_ is_view;
- typedef forward_sequence_tag category;
+ typedef forward_traversal_tag category;
typedef Car car_type;
typedef Cdr cdr_type;
diff --git a/include/boost/fusion/sequence/container/map/detail/is_associative_impl.hpp b/include/boost/fusion/sequence/container/map/detail/is_associative_impl.hpp
deleted file mode 100644
index 656d0114..00000000
--- a/include/boost/fusion/sequence/container/map/detail/is_associative_impl.hpp
+++ /dev/null
@@ -1,33 +0,0 @@
-/*=============================================================================
- Copyright (c) 2001-2006 Joel de Guzman
- Copyright (c) 2006 Dan Marsden
-
- Use, modification and distribution is subject to the Boost Software
- License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
- http://www.boost.org/LICENSE_1_0.txt)
-==============================================================================*/
-#if !defined(BOOST_FUSION_IS_ASSOCIATIVE_IMPL_20060304_2310)
-#define BOOST_FUSION_IS_ASSOCIATIVE_IMPL_20060304_2310
-
-#include
-
-namespace boost { namespace fusion {
-
- struct map_tag;
-
- namespace extension {
- template
- struct is_associative_impl;
-
- template<>
- struct is_associative_impl
- {
- template
- struct apply
- : mpl::true_
- {};
- };
- }
-}}
-
-#endif
diff --git a/include/boost/fusion/sequence/container/map/map.hpp b/include/boost/fusion/sequence/container/map/map.hpp
index ddd9807b..82bcfe8e 100644
--- a/include/boost/fusion/sequence/container/map/map.hpp
+++ b/include/boost/fusion/sequence/container/map/map.hpp
@@ -9,7 +9,7 @@
#define FUSION_MAP_07212005_1106
#include
-#include
+#include
#include
#include
#include
@@ -17,7 +17,6 @@
#include
#include
#include
-#include
#include
#include
#include
@@ -26,15 +25,15 @@ namespace boost { namespace fusion
{
struct void_;
struct map_tag;
- struct forward_sequence_tag;
struct fusion_sequence_tag;
template
struct map : sequence_base