From 425030e0eb225ddf72596af6750a612271fd5b57 Mon Sep 17 00:00:00 2001
From: Joel de Guzman
Date: Thu, 21 Sep 2006 12:25:27 +0000
Subject: [PATCH] renamed ftag to fusion_tag
[SVN r35247]
---
doc/extension.qbk | 6 +++---
doc/html/fusion/extension.html | 6 +++---
doc/html/fusion/support/tag_of.html | 2 +-
doc/support.qbk | 2 +-
example/extension/example_struct_iterator.hpp | 2 +-
.../boost/fusion/sequence/adapted/array/array_iterator.hpp | 2 +-
include/boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp | 2 +-
.../sequence/adapted/std_pair/Attic/std_pair_iterator.hpp | 2 +-
.../fusion/sequence/adapted/std_pair/std_pair_iterator.hpp | 2 +-
include/boost/fusion/sequence/container/list/cons.hpp | 4 ++--
.../boost/fusion/sequence/container/list/cons_iterator.hpp | 4 ++--
include/boost/fusion/sequence/container/map/map.hpp | 2 +-
include/boost/fusion/sequence/container/set/set.hpp | 2 +-
.../fusion/sequence/container/vector/detail/vector_n.hpp | 2 +-
include/boost/fusion/sequence/container/vector/vector.hpp | 2 +-
include/boost/fusion/sequence/container/vector/vector10.hpp | 2 +-
.../fusion/sequence/container/vector/vector_iterator.hpp | 2 +-
.../boost/fusion/sequence/view/filter_view/filter_view.hpp | 2 +-
.../sequence/view/filter_view/filter_view_iterator.hpp | 2 +-
.../fusion/sequence/view/iterator_range/iterator_range.hpp | 2 +-
.../boost/fusion/sequence/view/joint_view/joint_view.hpp | 2 +-
.../fusion/sequence/view/joint_view/joint_view_iterator.hpp | 2 +-
.../fusion/sequence/view/reverse_view/detail/next_impl.hpp | 2 +-
.../fusion/sequence/view/reverse_view/detail/prior_impl.hpp | 2 +-
.../fusion/sequence/view/reverse_view/reverse_view.hpp | 2 +-
.../sequence/view/reverse_view/reverse_view_iterator.hpp | 2 +-
.../boost/fusion/sequence/view/single_view/single_view.hpp | 2 +-
.../sequence/view/single_view/single_view_iterator.hpp | 4 ++--
.../fusion/sequence/view/transform_view/transform_view.hpp | 4 ++--
.../view/transform_view/transform_view_iterator.hpp | 4 ++--
include/boost/fusion/sequence/view/zip_view/zip_view.hpp | 2 +-
.../fusion/sequence/view/zip_view/zip_view_iterator.hpp | 2 +-
include/boost/fusion/support/tag_of.hpp | 6 +++---
33 files changed, 44 insertions(+), 44 deletions(-)
diff --git a/doc/extension.qbk b/doc/extension.qbk
index f422c8fa..ba9c550a 100644
--- a/doc/extension.qbk
+++ b/doc/extension.qbk
@@ -154,7 +154,7 @@ To understand how `value_of_impl` is used by the library we will look at the imp
struct __value_of__
{
typedef typename
- extension::value_of_impl::
+ extension::value_of_impl::
template apply::type
type;
};
@@ -209,7 +209,7 @@ To see how `deref_impl` is used, lets have a look at the implementation of __der
struct __deref__
{
typedef typename
- deref_impl::
+ deref_impl::
template apply::type
type;
};
@@ -220,7 +220,7 @@ To see how `deref_impl` is used, lets have a look at the implementation of __der
__deref__(Iterator const& i)
{
typename __result_of_deref__::type result =
- extension::deref_impl::
+ extension::deref_impl::
template apply::call(i);
return result;
}
diff --git a/doc/html/fusion/extension.html b/doc/html/fusion/extension.html
index da99aca6..9ecba184 100644
--- a/doc/html/fusion/extension.html
+++ b/doc/html/fusion/extension.html
@@ -242,7 +242,7 @@
struct value_of
{
typedef typename
- extension::value_of_impl<typename Iterator::ftag>::
+ extension::value_of_impl<typename Iterator::fusion_tag>::
template apply<Iterator>::type
type;
};
@@ -305,7 +305,7 @@
struct deref
{
typedef typename
- deref_impl<typename Iterator::ftag>::
+ deref_impl<typename Iterator::fusion_tag>::
template apply<Iterator>::type
type;
};
@@ -316,7 +316,7 @@
deref(Iterator const& i)
{
typename result_of::deref<Iterator>::type result =
- extension::deref_impl<typename Iterator::ftag>::
+ extension::deref_impl<typename Iterator::fusion_tag>::
template apply<Iterator>::call(i);
return result;
}
diff --git a/doc/html/fusion/support/tag_of.html b/doc/html/fusion/support/tag_of.html
index ddd54978..dcaa8373 100644
--- a/doc/html/fusion/support/tag_of.html
+++ b/doc/html/fusion/support/tag_of.html
@@ -34,7 +34,7 @@
The purpose of the tag is to enable tag
dispatching from Intrinsic
functions to implementations appropriate for the type. The default implementation
- of tag_of returns T::ftag
+ of tag_of returns T::fusion_tag
for a given type T, if such
a member typedef exists.
diff --git a/doc/support.qbk b/doc/support.qbk
index 7c04de0c..66ecec7c 100644
--- a/doc/support.qbk
+++ b/doc/support.qbk
@@ -114,7 +114,7 @@ may be specialized to accomodate clients providing Fusion conforming views.
All conforming Fusion sequences and iterators have an associated tag type.
The purpose of the tag is to enable __tag_dispatching__ from __intrinsic__
functions to implementations appropriate for the type. The default implementation
-of `tag_of` returns `T::ftag` for a given type `T`, if such a member typedef exists.
+of `tag_of` returns `T::fusion_tag` for a given type `T`, if such a member typedef exists.
This metafunction may be specialized to accomodate clients providing Fusion conforming sequences.
diff --git a/example/extension/example_struct_iterator.hpp b/example/extension/example_struct_iterator.hpp
index 3f60b914..04425acc 100644
--- a/example/extension/example_struct_iterator.hpp
+++ b/example/extension/example_struct_iterator.hpp
@@ -34,7 +34,7 @@ namespace boost { namespace fusion {
BOOST_STATIC_ASSERT(Pos >=0 && Pos < 3);
typedef Struct struct_type;
typedef mpl::int_ index;
- typedef example_struct_iterator_tag ftag;
+ typedef example_struct_iterator_tag fusion_tag;
typedef random_access_traversal_tag category;
example_struct_iterator(Struct& str)
diff --git a/include/boost/fusion/sequence/adapted/array/array_iterator.hpp b/include/boost/fusion/sequence/adapted/array/array_iterator.hpp
index aa6e16a6..93a0fa0f 100644
--- a/include/boost/fusion/sequence/adapted/array/array_iterator.hpp
+++ b/include/boost/fusion/sequence/adapted/array/array_iterator.hpp
@@ -38,7 +38,7 @@ namespace boost { namespace fusion {
BOOST_MPL_ASSERT_RELATION(Pos,<=,std::size_t(Array::static_size));
typedef mpl::size_t index;
- typedef array_iterator_tag ftag;
+ typedef array_iterator_tag fusion_tag;
typedef random_access_traversal_tag category;
typedef Array array_type;
typedef array_iterator<
diff --git a/include/boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp b/include/boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp
index 43e589c3..68612a44 100644
--- a/include/boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp
+++ b/include/boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp
@@ -27,7 +27,7 @@ namespace boost { namespace fusion
struct mpl_iterator
: iterator_base >
{
- typedef mpl_iterator_tag ftag;
+ typedef mpl_iterator_tag fusion_tag;
typedef typename detail::mpl_iterator_category<
typename Iterator::category>::type
category;
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 0a5a1c92..1121e315 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
@@ -32,7 +32,7 @@ namespace boost { namespace fusion
: iterator_base >
{
typedef mpl::int_ index;
- typedef std_pair_iterator_tag ftag;
+ typedef std_pair_iterator_tag fusion_tag;
typedef random_access_traversal_tag category;
typedef std_pair_iterator_identity<
typename add_const::type, N> identity;
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 0a5a1c92..1121e315 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
@@ -32,7 +32,7 @@ namespace boost { namespace fusion
: iterator_base >
{
typedef mpl::int_ index;
- typedef std_pair_iterator_tag ftag;
+ typedef std_pair_iterator_tag fusion_tag;
typedef random_access_traversal_tag category;
typedef std_pair_iterator_identity<
typename add_const::type, N> identity;
diff --git a/include/boost/fusion/sequence/container/list/cons.hpp b/include/boost/fusion/sequence/container/list/cons.hpp
index 41723596..8be6b239 100644
--- a/include/boost/fusion/sequence/container/list/cons.hpp
+++ b/include/boost/fusion/sequence/container/list/cons.hpp
@@ -36,7 +36,7 @@ namespace boost { namespace fusion
struct nil : sequence_base
{
typedef mpl::int_<0> size;
- typedef cons_tag ftag;
+ 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;
@@ -59,7 +59,7 @@ namespace boost { namespace fusion
struct cons : sequence_base >
{
typedef mpl::int_ size;
- typedef cons_tag ftag;
+ 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;
diff --git a/include/boost/fusion/sequence/container/list/cons_iterator.hpp b/include/boost/fusion/sequence/container/list/cons_iterator.hpp
index 48a5179a..af25fd1e 100644
--- a/include/boost/fusion/sequence/container/list/cons_iterator.hpp
+++ b/include/boost/fusion/sequence/container/list/cons_iterator.hpp
@@ -29,7 +29,7 @@ namespace boost { namespace fusion
template
struct cons_iterator : iterator_base >
{
- typedef cons_iterator_tag ftag;
+ typedef cons_iterator_tag fusion_tag;
typedef forward_traversal_tag category;
typedef Cons cons_type;
typedef cons_iterator_identity<
@@ -45,7 +45,7 @@ namespace boost { namespace fusion
struct nil_iterator : iterator_base
{
typedef forward_traversal_tag category;
- typedef cons_iterator_tag ftag;
+ typedef cons_iterator_tag fusion_tag;
typedef nil cons_type;
typedef cons_iterator_identity<
add_const::type>
diff --git a/include/boost/fusion/sequence/container/map/map.hpp b/include/boost/fusion/sequence/container/map/map.hpp
index 21976dfb..ddd9807b 100644
--- a/include/boost/fusion/sequence/container/map/map.hpp
+++ b/include/boost/fusion/sequence/container/map/map.hpp
@@ -32,7 +32,7 @@ namespace boost { namespace fusion
template
struct map : sequence_base