mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-29 20:17:32 +02:00
fixing missing traversal category on binary transform view, by reusing zip_view algorithm
[SVN r40516]
This commit is contained in:
@ -17,6 +17,8 @@
|
||||
#include <boost/fusion/view/transform_view/detail/end_impl.hpp>
|
||||
#include <boost/fusion/view/transform_view/detail/at_impl.hpp>
|
||||
#include <boost/fusion/view/transform_view/detail/value_at_impl.hpp>
|
||||
#include <boost/fusion/view/detail/strictest_traversal.hpp>
|
||||
#include <boost/fusion/container/vector/vector10.hpp>
|
||||
#include <boost/fusion/sequence/intrinsic/size.hpp>
|
||||
#include <boost/fusion/support/sequence_base.hpp>
|
||||
#include <boost/fusion/sequence/intrinsic/begin.hpp>
|
||||
@ -42,6 +44,8 @@ namespace boost { namespace fusion
|
||||
|
||||
typedef typename traits::category_of<Sequence1>::type category1;
|
||||
typedef typename traits::category_of<Sequence2>::type category2;
|
||||
typedef typename detail::strictest_traversal<
|
||||
fusion::vector2<Sequence1, Sequence2> >::type category;
|
||||
typedef typename result_of::begin<Sequence1>::type first1_type;
|
||||
typedef typename result_of::begin<Sequence2>::type first2_type;
|
||||
typedef typename result_of::end<Sequence1>::type last1_type;
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include <boost/fusion/support/sequence_base.hpp>
|
||||
#include <boost/fusion/support/unused.hpp>
|
||||
#include <boost/fusion/iterator/equal_to.hpp>
|
||||
#include <boost/fusion/view/zip_view/detail/strictest_traversal.hpp>
|
||||
#include <boost/fusion/view/detail/strictest_traversal.hpp>
|
||||
#include <boost/fusion/view/zip_view/detail/begin_impl.hpp>
|
||||
#include <boost/fusion/view/zip_view/detail/end_impl.hpp>
|
||||
#include <boost/fusion/view/zip_view/detail/size_impl.hpp>
|
||||
|
@ -8,7 +8,7 @@
|
||||
#if !defined(FUSION_ZIP_VIEW_ITERATOR_FWD)
|
||||
#define FUSION_ZIP_VIEW_ITERATOR_FWD
|
||||
|
||||
#include <boost/fusion/view/zip_view/detail/strictest_traversal.hpp>
|
||||
#include <boost/fusion/view/detail/strictest_traversal.hpp>
|
||||
|
||||
namespace boost { namespace fusion {
|
||||
|
||||
|
Reference in New Issue
Block a user