forked from boostorg/fusion
renamed ftag to fusion_tag
[SVN r35247]
This commit is contained in:
@@ -28,7 +28,7 @@ namespace boost { namespace fusion
|
||||
template <typename Sequence, typename Pred>
|
||||
struct filter_view : sequence_base<filter_view<Sequence, Pred> >
|
||||
{
|
||||
typedef filter_view_tag ftag;
|
||||
typedef filter_view_tag fusion_tag;
|
||||
typedef fusion_sequence_tag tag; // this gets picked up by MPL
|
||||
typedef forward_sequence_tag category;
|
||||
typedef mpl::true_ is_view;
|
||||
|
@@ -29,7 +29,7 @@ namespace boost { namespace fusion
|
||||
typedef convert_iterator<Last> last_converter;
|
||||
typedef typename last_converter::type last_iter;
|
||||
|
||||
typedef filter_view_iterator_tag ftag;
|
||||
typedef filter_view_iterator_tag fusion_tag;
|
||||
typedef forward_traversal_tag category;
|
||||
typedef detail::static_find_if<first_iter, last_iter, Pred> filter;
|
||||
typedef typename filter::type first_type;
|
||||
|
@@ -28,7 +28,7 @@ namespace boost { namespace fusion
|
||||
{
|
||||
typedef typename convert_iterator<First>::type begin_type;
|
||||
typedef typename convert_iterator<Last>::type end_type;
|
||||
typedef iterator_range_tag ftag;
|
||||
typedef iterator_range_tag fusion_tag;
|
||||
typedef fusion_sequence_tag tag; // this gets picked up by MPL
|
||||
typedef typename result_of::distance<begin_type, end_type>::type size;
|
||||
typedef mpl::true_ is_view;
|
||||
|
@@ -30,7 +30,7 @@ namespace boost { namespace fusion
|
||||
template <typename Sequence1, typename Sequence2>
|
||||
struct joint_view : sequence_base<joint_view<Sequence1, Sequence2> >
|
||||
{
|
||||
typedef joint_view_tag ftag;
|
||||
typedef joint_view_tag fusion_tag;
|
||||
typedef fusion_sequence_tag tag; // this gets picked up by MPL
|
||||
typedef forward_sequence_tag category;
|
||||
typedef mpl::true_ is_view;
|
||||
|
@@ -33,7 +33,7 @@ namespace boost { namespace fusion
|
||||
typedef typename last_converter::type last_type;
|
||||
typedef typename concat_converter::type concat_type;
|
||||
|
||||
typedef joint_view_iterator_tag ftag;
|
||||
typedef joint_view_iterator_tag fusion_tag;
|
||||
typedef forward_traversal_tag category;
|
||||
BOOST_STATIC_ASSERT((!result_of::equal_to<first_type, last_type>::value));
|
||||
|
||||
|
@@ -27,7 +27,7 @@ namespace boost { namespace fusion
|
||||
struct apply
|
||||
{
|
||||
typedef typename Iterator::first_type first_type;
|
||||
typedef typename prior_impl<typename first_type::ftag>::
|
||||
typedef typename prior_impl<typename first_type::fusion_tag>::
|
||||
template apply<first_type>
|
||||
wrapped;
|
||||
|
||||
|
@@ -27,7 +27,7 @@ namespace boost { namespace fusion
|
||||
struct apply
|
||||
{
|
||||
typedef typename Iterator::first_type first_type;
|
||||
typedef typename next_impl<typename first_type::ftag>::
|
||||
typedef typename next_impl<typename first_type::fusion_tag>::
|
||||
template apply<first_type>
|
||||
wrapped;
|
||||
|
||||
|
@@ -30,7 +30,7 @@ namespace boost { namespace fusion
|
||||
template <typename Sequence>
|
||||
struct reverse_view : sequence_base<reverse_view<Sequence> >
|
||||
{
|
||||
typedef reverse_view_tag ftag;
|
||||
typedef reverse_view_tag fusion_tag;
|
||||
typedef fusion_sequence_tag tag; // this gets picked up by MPL
|
||||
typedef mpl::true_ is_view;
|
||||
|
||||
|
@@ -30,7 +30,7 @@ namespace boost { namespace fusion
|
||||
{
|
||||
typedef convert_iterator<First> converter;
|
||||
typedef typename converter::type first_type;
|
||||
typedef reverse_view_iterator_tag ftag;
|
||||
typedef reverse_view_iterator_tag fusion_tag;
|
||||
typedef typename traits::category_of<first_type>::type category;
|
||||
|
||||
BOOST_STATIC_ASSERT((
|
||||
|
@@ -26,7 +26,7 @@ namespace boost { namespace fusion
|
||||
template <typename T>
|
||||
struct single_view : sequence_base<single_view<T> >
|
||||
{
|
||||
typedef single_view_tag ftag;
|
||||
typedef single_view_tag fusion_tag;
|
||||
typedef fusion_sequence_tag tag; // this gets picked up by MPL
|
||||
typedef forward_sequence_tag category;
|
||||
typedef mpl::true_ is_view;
|
||||
|
@@ -23,7 +23,7 @@ namespace boost { namespace fusion
|
||||
struct single_view_iterator_end
|
||||
: iterator_base<single_view_iterator_end<SingleView> >
|
||||
{
|
||||
typedef single_view_iterator_tag ftag;
|
||||
typedef single_view_iterator_tag fusion_tag;
|
||||
typedef forward_traversal_tag category;
|
||||
};
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace boost { namespace fusion
|
||||
struct single_view_iterator
|
||||
: iterator_base<single_view_iterator<SingleView> >
|
||||
{
|
||||
typedef single_view_iterator_tag ftag;
|
||||
typedef single_view_iterator_tag fusion_tag;
|
||||
typedef forward_traversal_tag category;
|
||||
typedef typename SingleView::value_type value_type;
|
||||
typedef SingleView single_view_type;
|
||||
|
@@ -35,7 +35,7 @@ namespace boost { namespace fusion
|
||||
struct transform_view : sequence_base<transform_view<Sequence1, Sequence2, F> >
|
||||
{
|
||||
BOOST_STATIC_ASSERT(result_of::size<Sequence1>::value == result_of::size<Sequence2>::value);
|
||||
typedef transform_view2_tag ftag;
|
||||
typedef transform_view2_tag fusion_tag;
|
||||
typedef fusion_sequence_tag tag; // this gets picked up by MPL
|
||||
typedef mpl::true_ is_view;
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace boost { namespace fusion
|
||||
template <typename Sequence, typename F>
|
||||
struct transform_view<Sequence, F> : sequence_base<transform_view<Sequence, F> >
|
||||
{
|
||||
typedef transform_view_tag ftag;
|
||||
typedef transform_view_tag fusion_tag;
|
||||
typedef fusion_sequence_tag tag; // this gets picked up by MPL
|
||||
typedef mpl::true_ is_view;
|
||||
|
||||
|
@@ -27,7 +27,7 @@ namespace boost { namespace fusion
|
||||
struct transform_view_iterator
|
||||
: iterator_base<transform_view_iterator<First, F> >
|
||||
{
|
||||
typedef transform_view_iterator_tag ftag;
|
||||
typedef transform_view_iterator_tag fusion_tag;
|
||||
typedef convert_iterator<First> converter;
|
||||
typedef typename converter::type first_type;
|
||||
typedef typename traits::category_of<first_type>::type category;
|
||||
@@ -47,7 +47,7 @@ namespace boost { namespace fusion
|
||||
struct transform_view_iterator2
|
||||
: iterator_base<transform_view_iterator2<First1, First2, F> >
|
||||
{
|
||||
typedef transform_view_iterator2_tag ftag;
|
||||
typedef transform_view_iterator2_tag fusion_tag;
|
||||
typedef convert_iterator<First1> converter1;
|
||||
typedef convert_iterator<First2> converter2;
|
||||
typedef typename converter1::type first1_type;
|
||||
|
@@ -71,7 +71,7 @@ namespace boost { namespace fusion {
|
||||
BOOST_MPL_ASSERT((detail::all_references<Sequences>));
|
||||
BOOST_MPL_ASSERT((detail::all_same_size<Sequences>));
|
||||
typedef typename detail::strictest_traversal<Sequences>::type category;
|
||||
typedef zip_view_tag ftag;
|
||||
typedef zip_view_tag fusion_tag;
|
||||
typedef fusion_sequence_tag tag; // this gets picked up by MPL
|
||||
typedef mpl::true_ is_view;
|
||||
typedef typename fusion::result_of::as_vector<Sequences>::type sequences;
|
||||
|
@@ -31,7 +31,7 @@ namespace boost { namespace fusion {
|
||||
struct zip_view_iterator
|
||||
: iterator_base<zip_view_iterator<IteratorSequence, Traversal> >
|
||||
{
|
||||
typedef zip_view_iterator_tag ftag;
|
||||
typedef zip_view_iterator_tag fusion_tag;
|
||||
typedef Traversal category;
|
||||
|
||||
template<typename InitSeq>
|
||||
|
Reference in New Issue
Block a user