mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-18 14:52:13 +02:00
refactoring for v2.1
[SVN r40208]
This commit is contained in:
@ -7,14 +7,15 @@
|
||||
#if !defined(FUSION_ERASE_07232005_0534)
|
||||
#define FUSION_ERASE_07232005_0534
|
||||
|
||||
#include <boost/fusion/iterator/equal_to.hpp>
|
||||
#include <boost/fusion/iterator/mpl/convert_iterator.hpp>
|
||||
#include <boost/fusion/sequence/container/vector/vector10.hpp>
|
||||
#include <boost/fusion/sequence/view/joint_view/joint_view.hpp>
|
||||
#include <boost/fusion/sequence/view/iterator_range/iterator_range.hpp>
|
||||
#include <boost/fusion/support/detail/as_fusion_element.hpp>
|
||||
#include <boost/fusion/sequence/intrinsic/begin.hpp>
|
||||
#include <boost/fusion/sequence/intrinsic/end.hpp>
|
||||
#include <boost/fusion/iterator/equal_to.hpp>
|
||||
#include <boost/fusion/iterator/mpl/convert_iterator.hpp>
|
||||
#include <boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp>
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
|
@ -7,14 +7,15 @@
|
||||
#if !defined(FUSION_INSERT_07222005_0730)
|
||||
#define FUSION_INSERT_07222005_0730
|
||||
|
||||
#include <boost/fusion/support/detail/as_fusion_element.hpp>
|
||||
#include <boost/fusion/iterator/mpl/convert_iterator.hpp>
|
||||
#include <boost/fusion/sequence/container/vector/vector10.hpp>
|
||||
#include <boost/fusion/sequence/view/joint_view/joint_view.hpp>
|
||||
#include <boost/fusion/sequence/view/single_view/single_view.hpp>
|
||||
#include <boost/fusion/sequence/view/iterator_range/iterator_range.hpp>
|
||||
#include <boost/fusion/support/detail/as_fusion_element.hpp>
|
||||
#include <boost/fusion/sequence/intrinsic/begin.hpp>
|
||||
#include <boost/fusion/sequence/intrinsic/end.hpp>
|
||||
#include <boost/fusion/iterator/mpl/convert_iterator.hpp>
|
||||
#include <boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp>
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
|
@ -7,13 +7,14 @@
|
||||
#if !defined(FUSION_INSERT_RANGE_009172005_1147)
|
||||
#define FUSION_INSERT_RANGE_009172005_1147
|
||||
|
||||
#include <boost/fusion/iterator/mpl/convert_iterator.hpp>
|
||||
#include <boost/fusion/sequence/container/vector/vector10.hpp>
|
||||
#include <boost/fusion/sequence/view/joint_view/joint_view.hpp>
|
||||
#include <boost/fusion/sequence/view/iterator_range/iterator_range.hpp>
|
||||
#include <boost/fusion/support/detail/as_fusion_element.hpp>
|
||||
#include <boost/fusion/sequence/intrinsic/begin.hpp>
|
||||
#include <boost/fusion/sequence/intrinsic/end.hpp>
|
||||
#include <boost/fusion/iterator/mpl/convert_iterator.hpp>
|
||||
#include <boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp>
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
|
@ -8,12 +8,14 @@
|
||||
#define FUSION_CONVERT_ITERATOR_05062005_1218
|
||||
|
||||
#include <boost/fusion/support/is_iterator.hpp>
|
||||
#include <boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp>
|
||||
#include <boost/mpl/if.hpp>
|
||||
#include <boost/mpl/bool.hpp>
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
template <typename Iterator>
|
||||
struct mpl_iterator; // forward declaration
|
||||
|
||||
// Test T. If it is a fusion iterator, return a reference to it.
|
||||
// else, assume it is an mpl iterator.
|
||||
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include <boost/mpl/minus.hpp>
|
||||
#include <boost/mpl/next_prior.hpp>
|
||||
#include <boost/mpl/and.hpp>
|
||||
#include <boost/fusion/iterator/mpl/convert_iterator.hpp>
|
||||
#include <boost/fusion/sequence/container/list/cons.hpp>
|
||||
#include <boost/fusion/sequence/view/joint_view.hpp>
|
||||
#include <boost/fusion/sequence/view/single_view.hpp>
|
||||
@ -19,6 +20,7 @@
|
||||
#include <boost/fusion/sequence/view/iterator_range.hpp>
|
||||
#include <boost/fusion/sequence/view/ext_/multiple_view.hpp>
|
||||
#include <boost/fusion/sequence/view/ext_/segmented_iterator.hpp>
|
||||
#include <boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp>
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
|
@ -8,6 +8,7 @@
|
||||
#define FUSION_FILTER_VIEW_ITERATOR_05062005_0849
|
||||
|
||||
#include <boost/fusion/iterator/mpl/convert_iterator.hpp>
|
||||
#include <boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp>
|
||||
#include <boost/fusion/support/iterator_base.hpp>
|
||||
#include <boost/fusion/sequence/view/filter_view/detail/deref_impl.hpp>
|
||||
#include <boost/fusion/sequence/view/filter_view/detail/next_impl.hpp>
|
||||
|
@ -10,12 +10,13 @@
|
||||
#include <boost/fusion/support/detail/access.hpp>
|
||||
#include <boost/fusion/support/sequence_base.hpp>
|
||||
#include <boost/fusion/support/category_of.hpp>
|
||||
#include <boost/fusion/iterator/distance.hpp>
|
||||
#include <boost/fusion/iterator/mpl/convert_iterator.hpp>
|
||||
#include <boost/fusion/sequence/view/iterator_range/detail/begin_impl.hpp>
|
||||
#include <boost/fusion/sequence/view/iterator_range/detail/end_impl.hpp>
|
||||
#include <boost/fusion/sequence/view/iterator_range/detail/at_impl.hpp>
|
||||
#include <boost/fusion/sequence/view/iterator_range/detail/value_at_impl.hpp>
|
||||
#include <boost/fusion/iterator/mpl/convert_iterator.hpp>
|
||||
#include <boost/fusion/iterator/distance.hpp>
|
||||
#include <boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp>
|
||||
#include <boost/mpl/bool.hpp>
|
||||
|
||||
namespace boost { namespace fusion
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <boost/fusion/support/iterator_base.hpp>
|
||||
#include <boost/fusion/iterator/equal_to.hpp>
|
||||
#include <boost/fusion/iterator/mpl/convert_iterator.hpp>
|
||||
#include <boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp>
|
||||
#include <boost/fusion/sequence/view/joint_view/detail/deref_impl.hpp>
|
||||
#include <boost/fusion/sequence/view/joint_view/detail/next_impl.hpp>
|
||||
#include <boost/fusion/sequence/view/joint_view/detail/value_of_impl.hpp>
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <boost/fusion/support/iterator_base.hpp>
|
||||
#include <boost/fusion/support/category_of.hpp>
|
||||
#include <boost/fusion/iterator/mpl/convert_iterator.hpp>
|
||||
#include <boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp>
|
||||
#include <boost/fusion/sequence/intrinsic/begin.hpp>
|
||||
#include <boost/fusion/sequence/intrinsic/end.hpp>
|
||||
#include <boost/fusion/sequence/view/repetitive_view/detail/deref_impl.hpp>
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <boost/fusion/support/iterator_base.hpp>
|
||||
#include <boost/fusion/support/category_of.hpp>
|
||||
#include <boost/fusion/iterator/mpl/convert_iterator.hpp>
|
||||
#include <boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp>
|
||||
#include <boost/fusion/sequence/view/reverse_view/detail/deref_impl.hpp>
|
||||
#include <boost/fusion/sequence/view/reverse_view/detail/next_impl.hpp>
|
||||
#include <boost/fusion/sequence/view/reverse_view/detail/prior_impl.hpp>
|
||||
|
@ -10,6 +10,7 @@
|
||||
#include <boost/fusion/support/iterator_base.hpp>
|
||||
#include <boost/fusion/support/category_of.hpp>
|
||||
#include <boost/fusion/iterator/mpl/convert_iterator.hpp>
|
||||
#include <boost/fusion/sequence/adapted/mpl/mpl_iterator.hpp>
|
||||
#include <boost/fusion/sequence/view/transform_view/detail/deref_impl.hpp>
|
||||
#include <boost/fusion/sequence/view/transform_view/detail/next_impl.hpp>
|
||||
#include <boost/fusion/sequence/view/transform_view/detail/prior_impl.hpp>
|
||||
|
@ -16,8 +16,8 @@
|
||||
#include <boost/type_traits/remove_reference.hpp>
|
||||
#include <boost/type_traits/is_convertible.hpp>
|
||||
|
||||
namespace boost { namespace fusion {
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
struct forward_traversal_tag;
|
||||
struct bidirectional_traversal_tag;
|
||||
struct random_access_traversal_tag;
|
||||
|
@ -17,8 +17,8 @@
|
||||
#include <boost/mpl/identity.hpp>
|
||||
#include <boost/type_traits/is_same.hpp>
|
||||
|
||||
namespace boost { namespace fusion {
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
struct zip_view_iterator_tag;
|
||||
|
||||
namespace detail
|
||||
|
@ -29,7 +29,7 @@ namespace boost { namespace fusion { namespace traits
|
||||
};
|
||||
}
|
||||
|
||||
// We cannot use fusion::transform_view here as result_of looses cv qualifiers
|
||||
// We cannot use fusion::transform_view here as result_of loses cv qualifiers
|
||||
// on built in types
|
||||
template <class Sequence>
|
||||
struct deduce_sequence
|
||||
|
@ -1,17 +0,0 @@
|
||||
/*=============================================================================
|
||||
Copyright (c) 2001-2006 Joel de Guzman
|
||||
|
||||
Distributed under 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(FUSION_COMPILER_CONFIG_01052006_1200)
|
||||
#define FUSION_COMPILER_CONFIG_01052006_1200
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/detail/workaround.hpp>
|
||||
|
||||
#if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1310))
|
||||
#pragma warning(disable : 4512 4244 4100 4305)
|
||||
#endif
|
||||
|
||||
#endif
|
@ -7,8 +7,6 @@
|
||||
#if !defined(FUSION_ITERATOR_BASE_05042005_1008)
|
||||
#define FUSION_ITERATOR_BASE_05042005_1008
|
||||
|
||||
#include <boost/fusion/support/detail/compiler_config.hpp>
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
struct iterator_root {};
|
||||
|
@ -8,7 +8,6 @@
|
||||
#if !defined(FUSION_PAIR_07222005_1203)
|
||||
#define FUSION_PAIR_07222005_1203
|
||||
|
||||
#include <boost/fusion/support/detail/compiler_config.hpp>
|
||||
#include <boost/fusion/support/detail/access.hpp>
|
||||
#include <boost/fusion/support/detail/as_fusion_element.hpp>
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
#if !defined(FUSION_SEQUENCE_BASE_04182005_0737)
|
||||
#define FUSION_SEQUENCE_BASE_04182005_0737
|
||||
|
||||
#include <boost/fusion/support/detail/compiler_config.hpp>
|
||||
#include <boost/mpl/begin_end_fwd.hpp>
|
||||
|
||||
namespace boost { namespace fusion
|
||||
|
@ -7,11 +7,11 @@
|
||||
#if !defined(FUSION_TAG_OF_09232005_0845)
|
||||
#define FUSION_TAG_OF_09232005_0845
|
||||
|
||||
#include <boost/utility/enable_if.hpp>
|
||||
#include <boost/type_traits/remove_const.hpp>
|
||||
#include <boost/fusion/support/tag_of_fwd.hpp>
|
||||
#include <boost/fusion/support/detail/is_mpl_sequence.hpp>
|
||||
#include <boost/mpl/has_xxx.hpp>
|
||||
#include <boost/utility/enable_if.hpp>
|
||||
#include <boost/mpl/identity.hpp>
|
||||
#include <boost/mpl/assert.hpp>
|
||||
#include <boost/mpl/bool.hpp>
|
||||
|
@ -8,8 +8,8 @@
|
||||
#if !defined(BOOST_FUSION_TAG_OF_FWD_31122005_1445)
|
||||
#define BOOST_FUSION_TAG_OF_FWD_31122005_1445
|
||||
|
||||
namespace boost { namespace fusion {
|
||||
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
namespace traits
|
||||
{
|
||||
template<typename T, typename Active = void>
|
||||
|
@ -1,7 +1,14 @@
|
||||
/*=============================================================================
|
||||
Copyright (c) 2001-2006 Joel de Guzman
|
||||
|
||||
Distributed under 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_SUPPORT_VOID_20070706_2125)
|
||||
#define BOOST_FUSION_SUPPORT_VOID_20070706_2125
|
||||
|
||||
namespace boost { namespace fusion {
|
||||
namespace boost { namespace fusion
|
||||
{
|
||||
struct void_ {};
|
||||
}}
|
||||
|
||||
|
Reference in New Issue
Block a user