forked from boostorg/fusion
Tweak PP includes.
This commit is contained in:
@ -15,7 +15,6 @@
|
|||||||
#include <boost/preprocessor/cat.hpp>
|
#include <boost/preprocessor/cat.hpp>
|
||||||
#include <boost/preprocessor/empty.hpp>
|
#include <boost/preprocessor/empty.hpp>
|
||||||
#include <boost/preprocessor/control/if.hpp>
|
#include <boost/preprocessor/control/if.hpp>
|
||||||
#include <boost/preprocessor/comparison/equal.hpp>
|
|
||||||
#include <boost/preprocessor/comparison/less.hpp>
|
#include <boost/preprocessor/comparison/less.hpp>
|
||||||
#include <boost/type_traits/add_reference.hpp>
|
#include <boost/type_traits/add_reference.hpp>
|
||||||
#include <boost/type_traits/is_const.hpp>
|
#include <boost/type_traits/is_const.hpp>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/preprocessor/cat.hpp>
|
#include <boost/preprocessor/cat.hpp>
|
||||||
#include <boost/preprocessor/empty.hpp>
|
#include <boost/preprocessor/empty.hpp>
|
||||||
#include <boost/preprocessor/tuple/elem.hpp>
|
#include <boost/preprocessor/control/if.hpp>
|
||||||
#include <boost/type_traits/add_reference.hpp>
|
#include <boost/type_traits/add_reference.hpp>
|
||||||
#include <boost/type_traits/is_const.hpp>
|
#include <boost/type_traits/is_const.hpp>
|
||||||
#include <boost/type_traits/remove_const.hpp>
|
#include <boost/type_traits/remove_const.hpp>
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
#include <boost/preprocessor/control/if.hpp>
|
#include <boost/preprocessor/control/if.hpp>
|
||||||
#include <boost/preprocessor/seq/seq.hpp>
|
#include <boost/preprocessor/seq/seq.hpp>
|
||||||
#include <boost/preprocessor/seq/elem.hpp>
|
#include <boost/preprocessor/seq/elem.hpp>
|
||||||
|
#include <boost/preprocessor/tuple/elem.hpp>
|
||||||
#include <boost/mpl/if.hpp>
|
#include <boost/mpl/if.hpp>
|
||||||
#include <boost/type_traits/is_const.hpp>
|
#include <boost/type_traits/is_const.hpp>
|
||||||
#include <boost/type_traits/add_const.hpp>
|
#include <boost/type_traits/add_const.hpp>
|
||||||
|
@ -15,8 +15,10 @@
|
|||||||
|
|
||||||
#include <boost/mpl/aux_/preprocessor/token_equal.hpp>
|
#include <boost/mpl/aux_/preprocessor/token_equal.hpp>
|
||||||
|
|
||||||
|
#include <boost/preprocessor/config/config.hpp>
|
||||||
#include <boost/preprocessor/control/if.hpp>
|
#include <boost/preprocessor/control/if.hpp>
|
||||||
#include <boost/preprocessor/variadic/size.hpp>
|
#include <boost/preprocessor/variadic/size.hpp>
|
||||||
|
#include <boost/preprocessor/arithmetic/sub.hpp>
|
||||||
|
|
||||||
#if BOOST_PP_VARIADICS
|
#if BOOST_PP_VARIADICS
|
||||||
|
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
#include <boost/fusion/adapted/struct/detail/adapt_auto.hpp>
|
#include <boost/fusion/adapted/struct/detail/adapt_auto.hpp>
|
||||||
|
|
||||||
#include <boost/fusion/adapted/struct/detail/preprocessor/is_seq.hpp>
|
#include <boost/fusion/adapted/struct/detail/preprocessor/is_seq.hpp>
|
||||||
|
|
||||||
#include <boost/mpl/aux_/preprocessor/token_equal.hpp>
|
#include <boost/mpl/aux_/preprocessor/token_equal.hpp>
|
||||||
@ -19,17 +18,13 @@
|
|||||||
#include <boost/preprocessor/arithmetic/sub.hpp>
|
#include <boost/preprocessor/arithmetic/sub.hpp>
|
||||||
#include <boost/preprocessor/control/if.hpp>
|
#include <boost/preprocessor/control/if.hpp>
|
||||||
#include <boost/preprocessor/logical/or.hpp>
|
#include <boost/preprocessor/logical/or.hpp>
|
||||||
#include <boost/preprocessor/tuple/size.hpp>
|
|
||||||
#include <boost/preprocessor/tuple/elem.hpp>
|
#include <boost/preprocessor/tuple/elem.hpp>
|
||||||
#include <boost/preprocessor/variadic/to_seq.hpp>
|
#include <boost/preprocessor/variadic/to_seq.hpp>
|
||||||
#include <boost/preprocessor/variadic/to_tuple.hpp>
|
#include <boost/preprocessor/variadic/size.hpp>
|
||||||
#include <boost/preprocessor/variadic/elem.hpp>
|
#include <boost/preprocessor/variadic/elem.hpp>
|
||||||
#include <boost/preprocessor/seq/for_each.hpp>
|
#include <boost/preprocessor/seq/seq.hpp>
|
||||||
#include <boost/preprocessor/seq/push_front.hpp>
|
|
||||||
#include <boost/preprocessor/seq/rest_n.hpp>
|
#include <boost/preprocessor/seq/rest_n.hpp>
|
||||||
|
|
||||||
#include <boost/preprocessor/tuple/reverse.hpp>
|
|
||||||
|
|
||||||
|
|
||||||
#define BOOST_FUSION_ADAPT_ADT_WRAPPEDATTR_SIZE(ATTRIBUTE) \
|
#define BOOST_FUSION_ADAPT_ADT_WRAPPEDATTR_SIZE(ATTRIBUTE) \
|
||||||
BOOST_PP_TUPLE_ELEM(2, 0, ATTRIBUTE)
|
BOOST_PP_TUPLE_ELEM(2, 0, ATTRIBUTE)
|
||||||
|
@ -13,7 +13,8 @@
|
|||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/preprocessor/cat.hpp>
|
#include <boost/preprocessor/cat.hpp>
|
||||||
#include <boost/preprocessor/empty.hpp>
|
#include <boost/preprocessor/empty.hpp>
|
||||||
#include <boost/preprocessor/tuple/elem.hpp>
|
#include <boost/preprocessor/control/if.hpp>
|
||||||
|
#include <boost/preprocessor/comparison/less.hpp>
|
||||||
#include <boost/type_traits/add_reference.hpp>
|
#include <boost/type_traits/add_reference.hpp>
|
||||||
#include <boost/type_traits/is_const.hpp>
|
#include <boost/type_traits/is_const.hpp>
|
||||||
#include <boost/type_traits/add_const.hpp>
|
#include <boost/type_traits/add_const.hpp>
|
||||||
|
@ -16,7 +16,6 @@
|
|||||||
#include <boost/preprocessor/empty.hpp>
|
#include <boost/preprocessor/empty.hpp>
|
||||||
#include <boost/preprocessor/control/if.hpp>
|
#include <boost/preprocessor/control/if.hpp>
|
||||||
#include <boost/preprocessor/comparison/less.hpp>
|
#include <boost/preprocessor/comparison/less.hpp>
|
||||||
#include <boost/preprocessor/comparison/equal.hpp>
|
|
||||||
#include <boost/preprocessor/seq/seq.hpp>
|
#include <boost/preprocessor/seq/seq.hpp>
|
||||||
#include <boost/preprocessor/variadic/to_seq.hpp>
|
#include <boost/preprocessor/variadic/to_seq.hpp>
|
||||||
#include <boost/type_traits/add_reference.hpp>
|
#include <boost/type_traits/add_reference.hpp>
|
||||||
@ -86,7 +85,7 @@
|
|||||||
BOOST_FUSION_ADAPT_STRUCT_ATTRIBUTES_FILLER( \
|
BOOST_FUSION_ADAPT_STRUCT_ATTRIBUTES_FILLER( \
|
||||||
BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))), \
|
BOOST_PP_SEQ_TAIL(BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))), \
|
||||||
BOOST_FUSION_ADAPT_STRUCT_C)
|
BOOST_FUSION_ADAPT_STRUCT_C)
|
||||||
|
|
||||||
#else // BOOST_PP_VARIADICS
|
#else // BOOST_PP_VARIADICS
|
||||||
|
|
||||||
# define BOOST_FUSION_ADAPT_TPL_STRUCT( \
|
# define BOOST_FUSION_ADAPT_TPL_STRUCT( \
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/adapted/struct/adapt_struct.hpp>
|
#include <boost/fusion/adapted/struct/adapt_struct.hpp>
|
||||||
#include <boost/fusion/adapted/struct/detail/proxy_type.hpp>
|
#include <boost/fusion/adapted/struct/detail/proxy_type.hpp>
|
||||||
#include <boost/preprocessor/empty.hpp>
|
#include <boost/preprocessor/config/config.hpp>
|
||||||
|
|
||||||
#ifdef BOOST_PP_VARIADICS
|
#ifdef BOOST_PP_VARIADICS
|
||||||
|
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/adapted/struct/adapt_assoc_struct.hpp>
|
#include <boost/fusion/adapted/struct/adapt_assoc_struct.hpp>
|
||||||
#include <boost/fusion/adapted/struct/detail/define_struct.hpp>
|
#include <boost/fusion/adapted/struct/detail/define_struct.hpp>
|
||||||
|
#include <boost/preprocessor/cat.hpp>
|
||||||
|
|
||||||
#define BOOST_FUSION_DEFINE_ASSOC_STRUCT_FILLER_0(X, Y, Z) \
|
#define BOOST_FUSION_DEFINE_ASSOC_STRUCT_FILLER_0(X, Y, Z) \
|
||||||
((X, Y, Z)) BOOST_FUSION_DEFINE_ASSOC_STRUCT_FILLER_1
|
((X, Y, Z)) BOOST_FUSION_DEFINE_ASSOC_STRUCT_FILLER_1
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/adapted/struct/adapt_struct.hpp>
|
#include <boost/fusion/adapted/struct/adapt_struct.hpp>
|
||||||
#include <boost/fusion/adapted/struct/detail/define_struct.hpp>
|
#include <boost/fusion/adapted/struct/detail/define_struct.hpp>
|
||||||
|
#include <boost/preprocessor/cat.hpp>
|
||||||
|
|
||||||
#define BOOST_FUSION_DEFINE_TPL_STRUCT( \
|
#define BOOST_FUSION_DEFINE_TPL_STRUCT( \
|
||||||
TEMPLATE_PARAMS_SEQ, NAMESPACE_SEQ, NAME, ATTRIBUTES) \
|
TEMPLATE_PARAMS_SEQ, NAMESPACE_SEQ, NAME, ATTRIBUTES) \
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
#include <boost/mpl/aux_/preprocessor/token_equal.hpp>
|
#include <boost/mpl/aux_/preprocessor/token_equal.hpp>
|
||||||
|
|
||||||
|
#include <boost/preprocessor/config/config.hpp>
|
||||||
#include <boost/preprocessor/control/if.hpp>
|
#include <boost/preprocessor/control/if.hpp>
|
||||||
#include <boost/preprocessor/arithmetic/sub.hpp>
|
#include <boost/preprocessor/arithmetic/sub.hpp>
|
||||||
#include <boost/preprocessor/variadic/size.hpp>
|
#include <boost/preprocessor/variadic/size.hpp>
|
||||||
|
@ -15,11 +15,13 @@
|
|||||||
|
|
||||||
#include <boost/mpl/aux_/preprocessor/token_equal.hpp>
|
#include <boost/mpl/aux_/preprocessor/token_equal.hpp>
|
||||||
|
|
||||||
#include <boost/preprocessor/tuple/size.hpp>
|
#include <boost/preprocessor/config/config.hpp>
|
||||||
|
#include <boost/preprocessor/control/if.hpp>
|
||||||
#include <boost/preprocessor/tuple/elem.hpp>
|
#include <boost/preprocessor/tuple/elem.hpp>
|
||||||
#include <boost/preprocessor/variadic/to_seq.hpp>
|
|
||||||
#include <boost/preprocessor/seq/for_each.hpp>
|
#include <boost/preprocessor/seq/for_each.hpp>
|
||||||
#include <boost/preprocessor/seq/push_front.hpp>
|
#include <boost/preprocessor/seq/push_front.hpp>
|
||||||
|
#include <boost/preprocessor/facilities/expand.hpp>
|
||||||
|
#include <boost/preprocessor/facilities/is_empty.hpp>
|
||||||
|
|
||||||
|
|
||||||
#define BOOST_FUSION_ADAPT_STRUCT_FILLER_0(X, Y) \
|
#define BOOST_FUSION_ADAPT_STRUCT_FILLER_0(X, Y) \
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
#ifndef BOOST_FUSION_ADAPTED_STRUCT_DETAIL_ADAPT_IS_TPL_HPP
|
#ifndef BOOST_FUSION_ADAPTED_STRUCT_DETAIL_ADAPT_IS_TPL_HPP
|
||||||
#define BOOST_FUSION_ADAPTED_STRUCT_DETAIL_ADAPT_IS_TPL_HPP
|
#define BOOST_FUSION_ADAPTED_STRUCT_DETAIL_ADAPT_IS_TPL_HPP
|
||||||
|
|
||||||
|
#include <boost/preprocessor/seq/seq.hpp>
|
||||||
|
|
||||||
#define BOOST_FUSION_ADAPT_IS_TPL(TEMPLATE_PARAMS_SEQ) \
|
#define BOOST_FUSION_ADAPT_IS_TPL(TEMPLATE_PARAMS_SEQ) \
|
||||||
BOOST_PP_SEQ_HEAD(TEMPLATE_PARAMS_SEQ)
|
BOOST_PP_SEQ_HEAD(TEMPLATE_PARAMS_SEQ)
|
||||||
|
|
||||||
|
@ -16,13 +16,11 @@
|
|||||||
#include <boost/fusion/iterator/advance.hpp>
|
#include <boost/fusion/iterator/advance.hpp>
|
||||||
#include <boost/fusion/adapted/struct/detail/adapt_base.hpp>
|
#include <boost/fusion/adapted/struct/detail/adapt_base.hpp>
|
||||||
#include <boost/fusion/adapted/struct/detail/namespace.hpp>
|
#include <boost/fusion/adapted/struct/detail/namespace.hpp>
|
||||||
#include <boost/preprocessor/inc.hpp>
|
|
||||||
#include <boost/preprocessor/if.hpp>
|
#include <boost/preprocessor/if.hpp>
|
||||||
#include <boost/preprocessor/expr_if.hpp>
|
#include <boost/preprocessor/expr_if.hpp>
|
||||||
#include <boost/preprocessor/dec.hpp>
|
#include <boost/preprocessor/dec.hpp>
|
||||||
#include <boost/preprocessor/logical/not.hpp>
|
#include <boost/preprocessor/logical/not.hpp>
|
||||||
#include <boost/preprocessor/punctuation/comma_if.hpp>
|
#include <boost/preprocessor/punctuation/comma_if.hpp>
|
||||||
#include <boost/preprocessor/comparison/equal.hpp>
|
|
||||||
#include <boost/preprocessor/seq/seq.hpp>
|
#include <boost/preprocessor/seq/seq.hpp>
|
||||||
#include <boost/preprocessor/seq/for_each.hpp>
|
#include <boost/preprocessor/seq/for_each.hpp>
|
||||||
#include <boost/preprocessor/seq/for_each_i.hpp>
|
#include <boost/preprocessor/seq/for_each_i.hpp>
|
||||||
|
@ -13,8 +13,6 @@
|
|||||||
#ifndef BOOST_FUSION_ADAPTED_STRUCT_DETAIL_PREPROCESSOR_IS_SEQ_HPP
|
#ifndef BOOST_FUSION_ADAPTED_STRUCT_DETAIL_PREPROCESSOR_IS_SEQ_HPP
|
||||||
#define BOOST_FUSION_ADAPTED_STRUCT_DETAIL_PREPROCESSOR_IS_SEQ_HPP
|
#define BOOST_FUSION_ADAPTED_STRUCT_DETAIL_PREPROCESSOR_IS_SEQ_HPP
|
||||||
|
|
||||||
#include <boost/preprocessor/seq/size.hpp>
|
|
||||||
#include <boost/preprocessor/arithmetic/dec.hpp>
|
|
||||||
#include <boost/preprocessor/punctuation/paren.hpp>
|
#include <boost/preprocessor/punctuation/paren.hpp>
|
||||||
#include <boost/preprocessor/cat.hpp>
|
#include <boost/preprocessor/cat.hpp>
|
||||||
#include <boost/preprocessor/config/config.hpp>
|
#include <boost/preprocessor/config/config.hpp>
|
||||||
|
Reference in New Issue
Block a user