renamed ftag to fusion_tag

[SVN r35247]
This commit is contained in:
Joel de Guzman
2006-09-21 12:25:27 +00:00
parent 1a6f4f948c
commit 425030e0eb
33 changed files with 44 additions and 44 deletions

View File

@ -36,7 +36,7 @@ namespace boost { namespace fusion
struct nil : sequence_base<nil>
{
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<cons<Car, Cdr> >
{
typedef mpl::int_<Cdr::size::value+1> 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;

View File

@ -29,7 +29,7 @@ namespace boost { namespace fusion
template <typename Cons = nil>
struct cons_iterator : iterator_base<cons_iterator<Cons> >
{
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<nil_iterator>
{
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<nil>::type>

View File

@ -32,7 +32,7 @@ namespace boost { namespace fusion
template <BOOST_PP_ENUM_PARAMS(FUSION_MAX_MAP_SIZE, typename T)>
struct map : sequence_base<map<BOOST_PP_ENUM_PARAMS(FUSION_MAX_MAP_SIZE, T)> >
{
typedef map_tag ftag;
typedef map_tag fusion_tag;
typedef fusion_sequence_tag tag; // this gets picked up by MPL
typedef forward_sequence_tag category;
typedef mpl::false_ is_view;

View File

@ -31,7 +31,7 @@ namespace boost { namespace fusion
template <BOOST_PP_ENUM_PARAMS(FUSION_MAX_SET_SIZE, typename T)>
struct set : sequence_base<set<BOOST_PP_ENUM_PARAMS(FUSION_MAX_SET_SIZE, T)> >
{
typedef set_tag ftag;
typedef set_tag fusion_tag;
typedef fusion_sequence_tag tag; // this gets picked up by MPL
typedef forward_sequence_tag category;
typedef mpl::false_ is_view;

View File

@ -81,7 +81,7 @@
typedef BOOST_PP_CAT(vector, N)<BOOST_PP_ENUM_PARAMS(N, T)> this_type;
typedef BOOST_PP_CAT(vector_data, N)<this_type, BOOST_PP_ENUM_PARAMS(N, T)> base_type;
typedef mpl::BOOST_PP_CAT(vector, N)<BOOST_PP_ENUM_PARAMS(N, T)> types;
typedef vector_tag ftag;
typedef vector_tag fusion_tag;
typedef fusion_sequence_tag tag; // this gets picked up by MPL
typedef mpl::false_ is_view;
typedef random_access_sequence_tag category;

View File

@ -40,7 +40,7 @@ namespace boost { namespace fusion
public:
typedef typename vector_n::types types;
typedef typename vector_n::ftag ftag;
typedef typename vector_n::fusion_tag fusion_tag;
typedef typename vector_n::tag tag;
typedef typename vector_n::size size;
typedef typename vector_n::category category;

View File

@ -43,7 +43,7 @@ namespace boost { namespace fusion
struct vector0 : sequence_base<vector0>
{
typedef mpl::vector0<> types;
typedef vector_tag ftag;
typedef vector_tag fusion_tag;
typedef fusion_sequence_tag tag; // this gets picked up by MPL
typedef mpl::false_ is_view;
typedef random_access_sequence_tag category;

View File

@ -32,7 +32,7 @@ namespace boost { namespace fusion
{
typedef mpl::int_<N> index;
typedef Vector vector;
typedef vector_iterator_tag ftag;
typedef vector_iterator_tag fusion_tag;
typedef random_access_traversal_tag category;
typedef vector_iterator_identity<
typename add_const<Vector>::type, N> identity;