forked from boostorg/fusion
Likewise.
This commit is contained in:
@ -12,7 +12,7 @@
|
|||||||
#error "C++03 only! This file should not have been included"
|
#error "C++03 only! This file should not have been included"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/fusion/container/vector/limits.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/limits.hpp>
|
||||||
|
|
||||||
#if !defined(FUSION_MAX_DEQUE_SIZE)
|
#if !defined(FUSION_MAX_DEQUE_SIZE)
|
||||||
# define FUSION_MAX_DEQUE_SIZE FUSION_MAX_VECTOR_SIZE
|
# define FUSION_MAX_DEQUE_SIZE FUSION_MAX_VECTOR_SIZE
|
||||||
|
@ -5,8 +5,8 @@
|
|||||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
#ifndef BOOST_PP_IS_ITERATING
|
#ifndef BOOST_PP_IS_ITERATING
|
||||||
#if !defined(FUSION_MAKE_LIST_07192005_1239)
|
#if !defined(FUSION_PP_MAKE_LIST_07192005_1239)
|
||||||
#define FUSION_MAKE_LIST_07192005_1239
|
#define FUSION_PP_MAKE_LIST_07192005_1239
|
||||||
|
|
||||||
#include <boost/preprocessor/iterate.hpp>
|
#include <boost/preprocessor/iterate.hpp>
|
||||||
#include <boost/preprocessor/repetition/enum_params.hpp>
|
#include <boost/preprocessor/repetition/enum_params.hpp>
|
||||||
@ -20,7 +20,7 @@
|
|||||||
#include <boost/fusion/container/generation/detail/preprocessed/make_list.hpp>
|
#include <boost/fusion/container/generation/detail/preprocessed/make_list.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/make_list" FUSION_MAX_LIST_SIZE_STR".hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/make_list" FUSION_MAX_LIST_SIZE_STR".hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -66,7 +66,7 @@ namespace boost { namespace fusion
|
|||||||
#define BOOST_FUSION_AS_FUSION_ELEMENT(z, n, data) \
|
#define BOOST_FUSION_AS_FUSION_ELEMENT(z, n, data) \
|
||||||
typename detail::as_fusion_element<BOOST_PP_CAT(T, n)>::type
|
typename detail::as_fusion_element<BOOST_PP_CAT(T, n)>::type
|
||||||
|
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/generation/make_list.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/generation/detail/pp_make_list.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_LIST_SIZE)
|
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_LIST_SIZE)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#include <boost/fusion/container/generation/detail/preprocessed/make_set.hpp>
|
#include <boost/fusion/container/generation/detail/preprocessed/make_set.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/make_set" FUSION_MAX_SET_SIZE_STR".hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/make_set" FUSION_MAX_SET_SIZE_STR".hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -83,7 +83,7 @@ FUSION_HASH endif
|
|||||||
#define BOOST_FUSION_AS_FUSION_ELEMENT(z, n, data) \
|
#define BOOST_FUSION_AS_FUSION_ELEMENT(z, n, data) \
|
||||||
typename detail::as_fusion_element<BOOST_PP_CAT(T, n)>::type
|
typename detail::as_fusion_element<BOOST_PP_CAT(T, n)>::type
|
||||||
|
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/generation/make_set.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/generation/detail/pp_make_set.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
|
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include <boost/fusion/container/generation/detail/preprocessed/make_vector.hpp>
|
#include <boost/fusion/container/generation/detail/preprocessed/make_vector.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/make_vector" FUSION_MAX_VECTOR_SIZE_STR".hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/make_vector" FUSION_MAX_VECTOR_SIZE_STR".hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -66,7 +66,7 @@ namespace boost { namespace fusion
|
|||||||
#define BOOST_FUSION_AS_FUSION_ELEMENT(z, n, data) \
|
#define BOOST_FUSION_AS_FUSION_ELEMENT(z, n, data) \
|
||||||
typename detail::as_fusion_element<BOOST_PP_CAT(T, n)>::type
|
typename detail::as_fusion_element<BOOST_PP_CAT(T, n)>::type
|
||||||
|
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/generation/make_vector.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/generation/detail/pp_make_vector.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
|
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
#include <boost/fusion/container/generation/detail/preprocessed/vector_tie.hpp>
|
#include <boost/fusion/container/generation/detail/preprocessed/vector_tie.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/vector_tie" FUSION_MAX_VECTOR_SIZE_STR".hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/vector_tie" FUSION_MAX_VECTOR_SIZE_STR".hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -52,7 +52,7 @@ namespace boost { namespace fusion
|
|||||||
|
|
||||||
#define BOOST_FUSION_REF(z, n, data) BOOST_PP_CAT(T, n)&
|
#define BOOST_FUSION_REF(z, n, data) BOOST_PP_CAT(T, n)&
|
||||||
|
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/generation/vector_tie.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/generation/detail/pp_vector_tie.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
|
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
|
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_MAKE_LIST_10262014_0647
|
||||||
|
#define FUSION_MAKE_LIST_10262014_0647
|
||||||
|
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
#include <boost/fusion/container/list/list.hpp>
|
||||||
|
|
||||||
|
# include <boost/fusion/container/generation/detail/pp_make_list.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_MAKE_SET_11112014_2255
|
||||||
|
#define FUSION_MAKE_SET_11112014_2255
|
||||||
|
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
#include <boost/fusion/container/set/set.hpp>
|
||||||
|
|
||||||
|
# include <boost/fusion/container/generation/detail/pp_make_set.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@ -0,0 +1,16 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_MAKE_VECTOR_11112014_2252
|
||||||
|
#define FUSION_MAKE_VECTOR_11112014_2252
|
||||||
|
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
#include <boost/fusion/container/vector/vector.hpp>
|
||||||
|
|
||||||
|
# include <boost/fusion/container/generation/detail/pp_make_vector.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@ -0,0 +1,15 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_VECTOR_TIE_11112014_2302
|
||||||
|
#define FUSION_VECTOR_TIE_11112014_2302
|
||||||
|
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
|
||||||
|
# include <boost/fusion/container/generation/detail/pp_vector_tie.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/list/cons.hpp>
|
#include <boost/fusion/container/list/cons.hpp>
|
||||||
#include <boost/fusion/container/list/cons_iterator.hpp>
|
#include <boost/fusion/container/list/cons_iterator.hpp>
|
||||||
#include <boost/fusion/container/list/limits.hpp>
|
|
||||||
#include <boost/fusion/container/list/list.hpp>
|
#include <boost/fusion/container/list/list.hpp>
|
||||||
#include <boost/fusion/container/list/list_fwd.hpp>
|
#include <boost/fusion/container/list/list_fwd.hpp>
|
||||||
#include <boost/fusion/container/list/convert.hpp>
|
#include <boost/fusion/container/list/convert.hpp>
|
||||||
|
@ -8,16 +8,16 @@
|
|||||||
#define FUSION_LIST_07172005_1153
|
#define FUSION_LIST_07172005_1153
|
||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/list/list_fwd.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/list_fwd.hpp>
|
||||||
#include <boost/fusion/container/list/detail/list_to_cons.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/list_to_cons.hpp>
|
||||||
#include <boost/fusion/support/is_sequence.hpp>
|
#include <boost/fusion/support/is_sequence.hpp>
|
||||||
#include <boost/core/enable_if.hpp>
|
#include <boost/core/enable_if.hpp>
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/list" FUSION_MAX_LIST_SIZE_STR ".hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/list" FUSION_MAX_LIST_SIZE_STR ".hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -72,7 +72,7 @@ namespace boost { namespace fusion
|
|||||||
// typename detail::call_param<T0>::type arg0
|
// typename detail::call_param<T0>::type arg0
|
||||||
// , typename detail::call_param<T1>::type arg1)
|
// , typename detail::call_param<T1>::type arg1)
|
||||||
// : inherited_type(list_to_cons::call(arg0, arg1)) {}
|
// : inherited_type(list_to_cons::call(arg0, arg1)) {}
|
||||||
#include <boost/fusion/container/list/detail/list_forward_ctor.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/list_forward_ctor.hpp>
|
||||||
|
|
||||||
template <BOOST_PP_ENUM_PARAMS(FUSION_MAX_LIST_SIZE, typename U)>
|
template <BOOST_PP_ENUM_PARAMS(FUSION_MAX_LIST_SIZE, typename U)>
|
||||||
BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#define FUSION_LIST_CL_PAREN(z, n, type) )
|
#define FUSION_LIST_CL_PAREN(z, n, type) )
|
||||||
|
|
||||||
#define BOOST_PP_FILENAME_1 \
|
#define BOOST_PP_FILENAME_1 \
|
||||||
<boost/fusion/container/list/detail/list_forward_ctor.hpp>
|
<boost/fusion/container/list/detail/cpp03/list_forward_ctor.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_LIST_SIZE)
|
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_LIST_SIZE)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
|
|
||||||
|
@ -8,14 +8,14 @@
|
|||||||
#define FUSION_LIST_FORWARD_07172005_0224
|
#define FUSION_LIST_FORWARD_07172005_0224
|
||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/list/limits.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/limits.hpp>
|
||||||
#include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
|
#include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list_fwd.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list_fwd.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/list" FUSION_MAX_LIST_SIZE_STR "_fwd.hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/list" FUSION_MAX_LIST_SIZE_STR "_fwd.hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/list/cons.hpp>
|
#include <boost/fusion/container/list/cons.hpp>
|
||||||
#include <boost/fusion/container/list/limits.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/limits.hpp>
|
||||||
#include <boost/preprocessor/repetition/enum.hpp>
|
#include <boost/preprocessor/repetition/enum.hpp>
|
||||||
#include <boost/preprocessor/repetition/enum_params.hpp>
|
#include <boost/preprocessor/repetition/enum_params.hpp>
|
||||||
#include <boost/preprocessor/repetition/enum_shifted_params.hpp>
|
#include <boost/preprocessor/repetition/enum_shifted_params.hpp>
|
||||||
@ -24,7 +24,7 @@ namespace boost { namespace fusion
|
|||||||
}}
|
}}
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list_to_cons.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/list_to_cons" FUSION_MAX_LIST_SIZE_STR ".hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/list_to_cons" FUSION_MAX_LIST_SIZE_STR ".hpp")
|
||||||
@ -56,7 +56,7 @@ namespace boost { namespace fusion { namespace detail
|
|||||||
|
|
||||||
typedef cons<head_type, tail_type> type;
|
typedef cons<head_type, tail_type> type;
|
||||||
|
|
||||||
#include <boost/fusion/container/list/detail/list_to_cons_call.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/list_to_cons_call.hpp>
|
||||||
};
|
};
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
|
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
|
||||||
|
|
||||||
#define BOOST_PP_FILENAME_1 \
|
#define BOOST_PP_FILENAME_1 \
|
||||||
<boost/fusion/container/list/detail/list_to_cons_call.hpp>
|
<boost/fusion/container/list/detail/cpp03/list_to_cons_call.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_LIST_SIZE)
|
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_LIST_SIZE)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
|
|
||||||
|
@ -8,15 +8,15 @@
|
|||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
|
|
||||||
#if FUSION_MAX_LIST_SIZE <= 10
|
#if FUSION_MAX_LIST_SIZE <= 10
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list10.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list10.hpp>
|
||||||
#elif FUSION_MAX_LIST_SIZE <= 20
|
#elif FUSION_MAX_LIST_SIZE <= 20
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list20.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list20.hpp>
|
||||||
#elif FUSION_MAX_LIST_SIZE <= 30
|
#elif FUSION_MAX_LIST_SIZE <= 30
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list30.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list30.hpp>
|
||||||
#elif FUSION_MAX_LIST_SIZE <= 40
|
#elif FUSION_MAX_LIST_SIZE <= 40
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list40.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list40.hpp>
|
||||||
#elif FUSION_MAX_LIST_SIZE <= 50
|
#elif FUSION_MAX_LIST_SIZE <= 50
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list50.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list50.hpp>
|
||||||
#else
|
#else
|
||||||
#error "FUSION_MAX_LIST_SIZE out of bounds for preprocessed headers"
|
#error "FUSION_MAX_LIST_SIZE out of bounds for preprocessed headers"
|
||||||
#endif
|
#endif
|
||||||
|
@ -8,15 +8,15 @@
|
|||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
|
|
||||||
#if FUSION_MAX_LIST_SIZE <= 10
|
#if FUSION_MAX_LIST_SIZE <= 10
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list10_fwd.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list10_fwd.hpp>
|
||||||
#elif FUSION_MAX_LIST_SIZE <= 20
|
#elif FUSION_MAX_LIST_SIZE <= 20
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list20_fwd.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list20_fwd.hpp>
|
||||||
#elif FUSION_MAX_LIST_SIZE <= 30
|
#elif FUSION_MAX_LIST_SIZE <= 30
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list30_fwd.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list30_fwd.hpp>
|
||||||
#elif FUSION_MAX_LIST_SIZE <= 40
|
#elif FUSION_MAX_LIST_SIZE <= 40
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list40_fwd.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list40_fwd.hpp>
|
||||||
#elif FUSION_MAX_LIST_SIZE <= 50
|
#elif FUSION_MAX_LIST_SIZE <= 50
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list50_fwd.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list50_fwd.hpp>
|
||||||
#else
|
#else
|
||||||
#error "FUSION_MAX_LIST_SIZE out of bounds for preprocessed headers"
|
#error "FUSION_MAX_LIST_SIZE out of bounds for preprocessed headers"
|
||||||
#endif
|
#endif
|
||||||
|
@ -8,15 +8,15 @@
|
|||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
|
|
||||||
#if FUSION_MAX_LIST_SIZE <= 10
|
#if FUSION_MAX_LIST_SIZE <= 10
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list_to_cons10.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons10.hpp>
|
||||||
#elif FUSION_MAX_LIST_SIZE <= 20
|
#elif FUSION_MAX_LIST_SIZE <= 20
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list_to_cons20.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons20.hpp>
|
||||||
#elif FUSION_MAX_LIST_SIZE <= 30
|
#elif FUSION_MAX_LIST_SIZE <= 30
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list_to_cons30.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons30.hpp>
|
||||||
#elif FUSION_MAX_LIST_SIZE <= 40
|
#elif FUSION_MAX_LIST_SIZE <= 40
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list_to_cons40.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons40.hpp>
|
||||||
#elif FUSION_MAX_LIST_SIZE <= 50
|
#elif FUSION_MAX_LIST_SIZE <= 50
|
||||||
#include <boost/fusion/container/list/detail/preprocessed/list_to_cons50.hpp>
|
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons50.hpp>
|
||||||
#else
|
#else
|
||||||
#error "FUSION_MAX_LIST_SIZE out of bounds for preprocessed headers"
|
#error "FUSION_MAX_LIST_SIZE out of bounds for preprocessed headers"
|
||||||
#endif
|
#endif
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_LIST_MAIN_10262014_0447
|
||||||
|
#define FUSION_LIST_MAIN_10262014_0447
|
||||||
|
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
#include <boost/fusion/container/list/list_fwd.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Without variadics, we will use the PP version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/container/list/detail/cpp03/list_to_cons.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
18
include/boost/fusion/container/list/list.hpp
Normal file
18
include/boost/fusion/container/list/list.hpp
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_LIST_10262014_0537
|
||||||
|
#define FUSION_LIST_10262014_0537
|
||||||
|
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
#include <boost/fusion/container/list/list_fwd.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Without variadics, we will use the PP version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/container/list/detail/cpp03/list.hpp>
|
||||||
|
|
||||||
|
#endif
|
@ -0,0 +1,18 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_LIST_FORWARD_10262014_0528
|
||||||
|
#define FUSION_LIST_FORWARD_10262014_0528
|
||||||
|
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// With no variadics, we will use the C++03 version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/container/list/detail/cpp03/list_fwd.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#define FUSION_MAP_LIMITS_07212005_1104
|
#define FUSION_MAP_LIMITS_07212005_1104
|
||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/vector/limits.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/limits.hpp>
|
||||||
|
|
||||||
#if !defined(FUSION_MAX_MAP_SIZE)
|
#if !defined(FUSION_MAX_MAP_SIZE)
|
||||||
# define FUSION_MAX_MAP_SIZE FUSION_MAX_VECTOR_SIZE
|
# define FUSION_MAX_MAP_SIZE FUSION_MAX_VECTOR_SIZE
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
#define FUSION_SEQUENCE_CLASS_SET_10022005_0607
|
#define FUSION_SEQUENCE_CLASS_SET_10022005_0607
|
||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/set/limits.hpp>
|
|
||||||
#include <boost/fusion/container/set/set.hpp>
|
#include <boost/fusion/container/set/set.hpp>
|
||||||
#include <boost/fusion/container/set/set_fwd.hpp>
|
#include <boost/fusion/container/set/set_fwd.hpp>
|
||||||
#include <boost/fusion/container/set/convert.hpp>
|
#include <boost/fusion/container/set/convert.hpp>
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_AS_SET_11062014_2121
|
||||||
|
#define FUSION_AS_SET_11062014_2121
|
||||||
|
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
#include <boost/fusion/container/set/set_fwd.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Without variadics, we will use the PP version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/container/set/detail/cpp03/as_set.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ BOOST_FUSION_BARRIER_END
|
|||||||
}}}
|
}}}
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/as_set.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/as_set.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/as_set" FUSION_MAX_SET_SIZE_STR ".hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/as_set" FUSION_MAX_SET_SIZE_STR ".hpp")
|
||||||
@ -84,7 +84,7 @@ BOOST_FUSION_BARRIER_BEGIN
|
|||||||
typedef typename fusion::result_of::value_of<BOOST_PP_CAT(I, n)>::type \
|
typedef typename fusion::result_of::value_of<BOOST_PP_CAT(I, n)>::type \
|
||||||
BOOST_PP_CAT(T, n);
|
BOOST_PP_CAT(T, n);
|
||||||
|
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/set/detail/as_set.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/set/detail/cpp03/as_set.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_SET_SIZE)
|
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_SET_SIZE)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#define FUSION_SET_LIMITS_09162005_1103
|
#define FUSION_SET_LIMITS_09162005_1103
|
||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/vector/limits.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/limits.hpp>
|
||||||
|
|
||||||
#if !defined(FUSION_MAX_SET_SIZE)
|
#if !defined(FUSION_MAX_SET_SIZE)
|
||||||
# define FUSION_MAX_SET_SIZE FUSION_MAX_VECTOR_SIZE
|
# define FUSION_MAX_SET_SIZE FUSION_MAX_VECTOR_SIZE
|
||||||
|
@ -8,15 +8,15 @@
|
|||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
|
|
||||||
#if FUSION_MAX_SET_SIZE <= 10
|
#if FUSION_MAX_SET_SIZE <= 10
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/as_set10.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/as_set10.hpp>
|
||||||
#elif FUSION_MAX_SET_SIZE <= 20
|
#elif FUSION_MAX_SET_SIZE <= 20
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/as_set20.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/as_set20.hpp>
|
||||||
#elif FUSION_MAX_SET_SIZE <= 30
|
#elif FUSION_MAX_SET_SIZE <= 30
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/as_set30.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/as_set30.hpp>
|
||||||
#elif FUSION_MAX_SET_SIZE <= 40
|
#elif FUSION_MAX_SET_SIZE <= 40
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/as_set40.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/as_set40.hpp>
|
||||||
#elif FUSION_MAX_SET_SIZE <= 50
|
#elif FUSION_MAX_SET_SIZE <= 50
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/as_set50.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/as_set50.hpp>
|
||||||
#else
|
#else
|
||||||
#error "FUSION_MAX_SET_SIZE out of bounds for preprocessed headers"
|
#error "FUSION_MAX_SET_SIZE out of bounds for preprocessed headers"
|
||||||
#endif
|
#endif
|
||||||
|
@ -8,15 +8,15 @@
|
|||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
|
|
||||||
#if FUSION_MAX_SET_SIZE <= 10
|
#if FUSION_MAX_SET_SIZE <= 10
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/set10.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/set10.hpp>
|
||||||
#elif FUSION_MAX_SET_SIZE <= 20
|
#elif FUSION_MAX_SET_SIZE <= 20
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/set20.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/set20.hpp>
|
||||||
#elif FUSION_MAX_SET_SIZE <= 30
|
#elif FUSION_MAX_SET_SIZE <= 30
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/set30.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/set30.hpp>
|
||||||
#elif FUSION_MAX_SET_SIZE <= 40
|
#elif FUSION_MAX_SET_SIZE <= 40
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/set40.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/set40.hpp>
|
||||||
#elif FUSION_MAX_SET_SIZE <= 50
|
#elif FUSION_MAX_SET_SIZE <= 50
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/set50.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/set50.hpp>
|
||||||
#else
|
#else
|
||||||
#error "FUSION_MAX_SET_SIZE out of bounds for preprocessed headers"
|
#error "FUSION_MAX_SET_SIZE out of bounds for preprocessed headers"
|
||||||
#endif
|
#endif
|
||||||
|
@ -8,15 +8,15 @@
|
|||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
|
|
||||||
#if FUSION_MAX_SET_SIZE <= 10
|
#if FUSION_MAX_SET_SIZE <= 10
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/set10_fwd.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/set10_fwd.hpp>
|
||||||
#elif FUSION_MAX_SET_SIZE <= 20
|
#elif FUSION_MAX_SET_SIZE <= 20
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/set20_fwd.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/set20_fwd.hpp>
|
||||||
#elif FUSION_MAX_SET_SIZE <= 30
|
#elif FUSION_MAX_SET_SIZE <= 30
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/set30_fwd.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/set30_fwd.hpp>
|
||||||
#elif FUSION_MAX_SET_SIZE <= 40
|
#elif FUSION_MAX_SET_SIZE <= 40
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/set40_fwd.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/set40_fwd.hpp>
|
||||||
#elif FUSION_MAX_SET_SIZE <= 50
|
#elif FUSION_MAX_SET_SIZE <= 50
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/set50_fwd.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/set50_fwd.hpp>
|
||||||
#else
|
#else
|
||||||
#error "FUSION_MAX_SET_SIZE out of bounds for preprocessed headers"
|
#error "FUSION_MAX_SET_SIZE out of bounds for preprocessed headers"
|
||||||
#endif
|
#endif
|
||||||
|
@ -26,10 +26,10 @@
|
|||||||
#include <boost/core/enable_if.hpp>
|
#include <boost/core/enable_if.hpp>
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/set.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/set.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/set" FUSION_MAX_SET_SIZE_STR ".hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/set" FUSION_MAX_SET_SIZE_STR ".hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -75,7 +75,7 @@ namespace boost { namespace fusion
|
|||||||
, typename boost::enable_if<traits::is_sequence<Sequence> >::type* = 0)
|
, typename boost::enable_if<traits::is_sequence<Sequence> >::type* = 0)
|
||||||
: data(rhs) {}
|
: data(rhs) {}
|
||||||
|
|
||||||
#include <boost/fusion/container/set/detail/set_forward_ctor.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/set_forward_ctor.hpp>
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
|
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
|
||||||
|
|
||||||
#define BOOST_PP_FILENAME_1 \
|
#define BOOST_PP_FILENAME_1 \
|
||||||
<boost/fusion/container/set/detail/set_forward_ctor.hpp>
|
<boost/fusion/container/set/detail/cpp03/set_forward_ctor.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_SET_SIZE)
|
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_SET_SIZE)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
|
|
||||||
|
@ -8,14 +8,14 @@
|
|||||||
#define FUSION_SET_FORWARD_09162005_1102
|
#define FUSION_SET_FORWARD_09162005_1102
|
||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/set/limits.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/limits.hpp>
|
||||||
#include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
|
#include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/set/detail/preprocessed/set_fwd.hpp>
|
#include <boost/fusion/container/set/detail/cpp03/preprocessed/set_fwd.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/set" FUSION_MAX_SET_SIZE_STR "_fwd.hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/set" FUSION_MAX_SET_SIZE_STR "_fwd.hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
|
@ -0,0 +1,20 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_SET_11062014_1726
|
||||||
|
#define FUSION_SET_11062014_1726
|
||||||
|
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
#include <boost/fusion/container/set/set_fwd.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Without variadics, we will use the PP version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/container/set/detail/cpp03/set.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_SET_FORWARD_11062014_1720
|
||||||
|
#define FUSION_SET_FORWARD_11062014_1720
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// With no variadics, we will use the C++03 version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/container/set/detail/cpp03/set_fwd.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#define FUSION_SEQUENCE_CLASS_VECTOR_10022005_0602
|
#define FUSION_SEQUENCE_CLASS_VECTOR_10022005_0602
|
||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/vector/limits.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/limits.hpp>
|
||||||
|
|
||||||
#include <boost/fusion/container/vector/vector10.hpp>
|
#include <boost/fusion/container/vector/vector10.hpp>
|
||||||
#if (FUSION_MAX_VECTOR_SIZE > 10)
|
#if (FUSION_MAX_VECTOR_SIZE > 10)
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_AS_VECTOR_11052014_1801
|
||||||
|
#define FUSION_AS_VECTOR_11052014_1801
|
||||||
|
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Without variadics, we will use the PP version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/container/vector/detail/cpp03/as_vector.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ BOOST_FUSION_BARRIER_END
|
|||||||
}}}
|
}}}
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/as_vector.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/as_vector" FUSION_MAX_VECTOR_SIZE_STR ".hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/as_vector" FUSION_MAX_VECTOR_SIZE_STR ".hpp")
|
||||||
@ -84,7 +84,7 @@ BOOST_FUSION_BARRIER_BEGIN
|
|||||||
typedef typename fusion::result_of::value_of<BOOST_PP_CAT(I, n)>::type \
|
typedef typename fusion::result_of::value_of<BOOST_PP_CAT(I, n)>::type \
|
||||||
BOOST_PP_CAT(T, n);
|
BOOST_PP_CAT(T, n);
|
||||||
|
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/as_vector.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/cpp03/as_vector.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
|
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
|
|
||||||
|
@ -8,15 +8,15 @@
|
|||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
|
|
||||||
#if FUSION_MAX_VECTOR_SIZE <= 10
|
#if FUSION_MAX_VECTOR_SIZE <= 10
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/as_vector10.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector10.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 20
|
#elif FUSION_MAX_VECTOR_SIZE <= 20
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/as_vector20.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector20.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 30
|
#elif FUSION_MAX_VECTOR_SIZE <= 30
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/as_vector30.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector30.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 40
|
#elif FUSION_MAX_VECTOR_SIZE <= 40
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/as_vector40.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector40.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 50
|
#elif FUSION_MAX_VECTOR_SIZE <= 50
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/as_vector50.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/as_vector50.hpp>
|
||||||
#else
|
#else
|
||||||
#error "FUSION_MAX_VECTOR_SIZE out of bounds for preprocessed headers"
|
#error "FUSION_MAX_VECTOR_SIZE out of bounds for preprocessed headers"
|
||||||
#endif
|
#endif
|
||||||
|
@ -8,15 +8,15 @@
|
|||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
|
|
||||||
#if FUSION_MAX_VECTOR_SIZE <= 10
|
#if FUSION_MAX_VECTOR_SIZE <= 10
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vvector10.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 20
|
#elif FUSION_MAX_VECTOR_SIZE <= 20
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vvector20.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 30
|
#elif FUSION_MAX_VECTOR_SIZE <= 30
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vvector30.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 40
|
#elif FUSION_MAX_VECTOR_SIZE <= 40
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vvector40.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 50
|
#elif FUSION_MAX_VECTOR_SIZE <= 50
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vvector50.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50.hpp>
|
||||||
#else
|
#else
|
||||||
#error "FUSION_MAX_VECTOR_SIZE out of bounds for preprocessed headers"
|
#error "FUSION_MAX_VECTOR_SIZE out of bounds for preprocessed headers"
|
||||||
#endif
|
#endif
|
||||||
|
@ -7,15 +7,15 @@
|
|||||||
This is an auto-generated file. Do not edit!
|
This is an auto-generated file. Do not edit!
|
||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
#if FUSION_MAX_VECTOR_SIZE <= 10
|
#if FUSION_MAX_VECTOR_SIZE <= 10
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector_chooser10.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser10.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 20
|
#elif FUSION_MAX_VECTOR_SIZE <= 20
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector_chooser20.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser20.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 30
|
#elif FUSION_MAX_VECTOR_SIZE <= 30
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector_chooser30.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser30.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 40
|
#elif FUSION_MAX_VECTOR_SIZE <= 40
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector_chooser40.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser40.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 50
|
#elif FUSION_MAX_VECTOR_SIZE <= 50
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector_chooser50.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser50.hpp>
|
||||||
#else
|
#else
|
||||||
#error "FUSION_MAX_VECTOR_SIZE out of bounds for preprocessed headers"
|
#error "FUSION_MAX_VECTOR_SIZE out of bounds for preprocessed headers"
|
||||||
#endif
|
#endif
|
||||||
|
@ -8,15 +8,15 @@
|
|||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
|
|
||||||
#if FUSION_MAX_VECTOR_SIZE <= 10
|
#if FUSION_MAX_VECTOR_SIZE <= 10
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vvector10_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vvector10_fwd.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 20
|
#elif FUSION_MAX_VECTOR_SIZE <= 20
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vvector20_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vvector20_fwd.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 30
|
#elif FUSION_MAX_VECTOR_SIZE <= 30
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vvector30_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vvector30_fwd.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 40
|
#elif FUSION_MAX_VECTOR_SIZE <= 40
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vvector40_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vvector40_fwd.hpp>
|
||||||
#elif FUSION_MAX_VECTOR_SIZE <= 50
|
#elif FUSION_MAX_VECTOR_SIZE <= 50
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vvector50_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vvector50_fwd.hpp>
|
||||||
#else
|
#else
|
||||||
#error "FUSION_MAX_VECTOR_SIZE out of bounds for preprocessed headers"
|
#error "FUSION_MAX_VECTOR_SIZE out of bounds for preprocessed headers"
|
||||||
#endif
|
#endif
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/support/is_sequence.hpp>
|
#include <boost/fusion/support/is_sequence.hpp>
|
||||||
#include <boost/fusion/container/vector/vector_fwd.hpp>
|
#include <boost/fusion/container/vector/vector_fwd.hpp>
|
||||||
#include <boost/fusion/container/vector/detail/vector_n_chooser.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector_n_chooser.hpp>
|
||||||
#include <boost/fusion/sequence/intrinsic/begin.hpp>
|
#include <boost/fusion/sequence/intrinsic/begin.hpp>
|
||||||
#include <boost/mpl/at.hpp>
|
#include <boost/mpl/at.hpp>
|
||||||
#include <boost/mpl/bool.hpp>
|
#include <boost/mpl/bool.hpp>
|
||||||
@ -56,10 +56,10 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/vvector" FUSION_MAX_VECTOR_SIZE_STR ".hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/vvector" FUSION_MAX_VECTOR_SIZE_STR ".hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -128,7 +128,7 @@ namespace boost { namespace fusion
|
|||||||
// typename detail::call_param<T0>::type arg0
|
// typename detail::call_param<T0>::type arg0
|
||||||
// , typename detail::call_param<T1>::type arg1)
|
// , typename detail::call_param<T1>::type arg1)
|
||||||
// : vec(arg0, arg1) {}
|
// : vec(arg0, arg1) {}
|
||||||
#include <boost/fusion/container/vector/detail/vector_forward_ctor.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector_forward_ctor.hpp>
|
||||||
|
|
||||||
template <BOOST_PP_ENUM_PARAMS(FUSION_MAX_VECTOR_SIZE, typename U)>
|
template <BOOST_PP_ENUM_PARAMS(FUSION_MAX_VECTOR_SIZE, typename U)>
|
||||||
BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#define FUSION_VECTOR10_05042005_0257
|
#define FUSION_VECTOR10_05042005_0257
|
||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/vector/vector10_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector10_fwd.hpp>
|
||||||
#include <boost/fusion/support/sequence_base.hpp>
|
#include <boost/fusion/support/sequence_base.hpp>
|
||||||
#include <boost/fusion/support/is_sequence.hpp>
|
#include <boost/fusion/support/is_sequence.hpp>
|
||||||
#include <boost/fusion/support/detail/access.hpp>
|
#include <boost/fusion/support/detail/access.hpp>
|
||||||
@ -63,10 +63,10 @@ namespace boost { namespace fusion
|
|||||||
}}
|
}}
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector10.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector10.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/vector10.hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/vector10.hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -90,7 +90,7 @@ namespace boost { namespace fusion
|
|||||||
|
|
||||||
#define FUSION_HASH #
|
#define FUSION_HASH #
|
||||||
// expand vector1 to vector10
|
// expand vector1 to vector10
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/vector_n.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/cpp03/vector_n.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (1, 10)
|
#define BOOST_PP_ITERATION_LIMITS (1, 10)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
#undef FUSION_HASH
|
#undef FUSION_HASH
|
||||||
|
@ -21,10 +21,10 @@ namespace boost { namespace fusion
|
|||||||
}}
|
}}
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector10_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector10_fwd.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/vector10_fwd.hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/vector10_fwd.hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -43,7 +43,7 @@ namespace boost { namespace fusion
|
|||||||
namespace boost { namespace fusion
|
namespace boost { namespace fusion
|
||||||
{
|
{
|
||||||
// expand vector1 to vector10
|
// expand vector1 to vector10
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/vector10_fwd.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/cpp03/vector10_fwd.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (1, 10)
|
#define BOOST_PP_ITERATION_LIMITS (1, 10)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
}}
|
}}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#define FUSION_VECTOR20_05052005_0205
|
#define FUSION_VECTOR20_05052005_0205
|
||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/vector/vector20_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector20_fwd.hpp>
|
||||||
#include <boost/fusion/support/sequence_base.hpp>
|
#include <boost/fusion/support/sequence_base.hpp>
|
||||||
#include <boost/fusion/support/is_sequence.hpp>
|
#include <boost/fusion/support/is_sequence.hpp>
|
||||||
#include <boost/fusion/support/detail/access.hpp>
|
#include <boost/fusion/support/detail/access.hpp>
|
||||||
@ -38,10 +38,10 @@
|
|||||||
#include <boost/preprocessor/repetition/repeat_from_to.hpp>
|
#include <boost/preprocessor/repetition/repeat_from_to.hpp>
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector20.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector20.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/vector20.hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/vector20.hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -65,7 +65,7 @@ namespace boost { namespace fusion
|
|||||||
|
|
||||||
#define FUSION_HASH #
|
#define FUSION_HASH #
|
||||||
// expand vector11 to vector20
|
// expand vector11 to vector20
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/vector_n.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/cpp03/vector_n.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (11, 20)
|
#define BOOST_PP_ITERATION_LIMITS (11, 20)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
#undef FUSION_HASH
|
#undef FUSION_HASH
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
#include <boost/preprocessor/repetition/enum_params.hpp>
|
#include <boost/preprocessor/repetition/enum_params.hpp>
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector20_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector20_fwd.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/vector20_fwd.hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/vector20_fwd.hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -38,7 +38,7 @@
|
|||||||
namespace boost { namespace fusion
|
namespace boost { namespace fusion
|
||||||
{
|
{
|
||||||
// expand vector11 to vector20
|
// expand vector11 to vector20
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/vector20_fwd.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/cpp03/vector20_fwd.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (11, 20)
|
#define BOOST_PP_ITERATION_LIMITS (11, 20)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
}}
|
}}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#define FUSION_VECTOR30_05052005_0206
|
#define FUSION_VECTOR30_05052005_0206
|
||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/vector/vector30_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector30_fwd.hpp>
|
||||||
#include <boost/fusion/support/sequence_base.hpp>
|
#include <boost/fusion/support/sequence_base.hpp>
|
||||||
#include <boost/fusion/support/is_sequence.hpp>
|
#include <boost/fusion/support/is_sequence.hpp>
|
||||||
#include <boost/fusion/support/detail/access.hpp>
|
#include <boost/fusion/support/detail/access.hpp>
|
||||||
@ -37,10 +37,10 @@
|
|||||||
#include <boost/preprocessor/repetition/repeat_from_to.hpp>
|
#include <boost/preprocessor/repetition/repeat_from_to.hpp>
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector30.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector30.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/vector30.hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/vector30.hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -64,7 +64,7 @@ namespace boost { namespace fusion
|
|||||||
|
|
||||||
#define FUSION_HASH #
|
#define FUSION_HASH #
|
||||||
// expand vector21 to vector30
|
// expand vector21 to vector30
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/vector_n.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/cpp03/vector_n.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (21, 30)
|
#define BOOST_PP_ITERATION_LIMITS (21, 30)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
#undef FUSION_HASH
|
#undef FUSION_HASH
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
#include <boost/preprocessor/repetition/enum_params.hpp>
|
#include <boost/preprocessor/repetition/enum_params.hpp>
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector30_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector30_fwd.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/vector30_fwd.hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/vector30_fwd.hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -38,7 +38,7 @@
|
|||||||
namespace boost { namespace fusion
|
namespace boost { namespace fusion
|
||||||
{
|
{
|
||||||
// expand vector21 to vector30
|
// expand vector21 to vector30
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/vector30_fwd.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/cpp03/vector30_fwd.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (21, 30)
|
#define BOOST_PP_ITERATION_LIMITS (21, 30)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
}}
|
}}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#define FUSION_VECTOR40_05052005_0208
|
#define FUSION_VECTOR40_05052005_0208
|
||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/vector/vector40_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector40_fwd.hpp>
|
||||||
#include <boost/fusion/support/sequence_base.hpp>
|
#include <boost/fusion/support/sequence_base.hpp>
|
||||||
#include <boost/fusion/support/is_sequence.hpp>
|
#include <boost/fusion/support/is_sequence.hpp>
|
||||||
#include <boost/fusion/support/detail/access.hpp>
|
#include <boost/fusion/support/detail/access.hpp>
|
||||||
@ -38,10 +38,10 @@
|
|||||||
#include <boost/preprocessor/repetition/repeat_from_to.hpp>
|
#include <boost/preprocessor/repetition/repeat_from_to.hpp>
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector40.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector40.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/vector40.hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/vector40.hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -65,7 +65,7 @@ namespace boost { namespace fusion
|
|||||||
|
|
||||||
#define FUSION_HASH #
|
#define FUSION_HASH #
|
||||||
// expand vector31 to vector40
|
// expand vector31 to vector40
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/vector_n.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/cpp03/vector_n.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (31, 40)
|
#define BOOST_PP_ITERATION_LIMITS (31, 40)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
#undef FUSION_HASH
|
#undef FUSION_HASH
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
#include <boost/preprocessor/repetition/enum_params.hpp>
|
#include <boost/preprocessor/repetition/enum_params.hpp>
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector40_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector40_fwd.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/vector40_fwd.hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/vector40_fwd.hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -38,7 +38,7 @@
|
|||||||
namespace boost { namespace fusion
|
namespace boost { namespace fusion
|
||||||
{
|
{
|
||||||
// expand vector31 to vector40
|
// expand vector31 to vector40
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/vector40_fwd.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/cpp03/vector40_fwd.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (31, 40)
|
#define BOOST_PP_ITERATION_LIMITS (31, 40)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
}}
|
}}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#define FUSION_VECTOR50_05052005_0207
|
#define FUSION_VECTOR50_05052005_0207
|
||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/vector/vector50_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector50_fwd.hpp>
|
||||||
#include <boost/fusion/support/sequence_base.hpp>
|
#include <boost/fusion/support/sequence_base.hpp>
|
||||||
#include <boost/fusion/support/is_sequence.hpp>
|
#include <boost/fusion/support/is_sequence.hpp>
|
||||||
#include <boost/fusion/support/detail/access.hpp>
|
#include <boost/fusion/support/detail/access.hpp>
|
||||||
@ -37,10 +37,10 @@
|
|||||||
#include <boost/preprocessor/repetition/repeat_from_to.hpp>
|
#include <boost/preprocessor/repetition/repeat_from_to.hpp>
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector50.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector50.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/vector50.hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/vector50.hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -64,7 +64,7 @@ namespace boost { namespace fusion
|
|||||||
|
|
||||||
#define FUSION_HASH #
|
#define FUSION_HASH #
|
||||||
// expand vector41 to vector50
|
// expand vector41 to vector50
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/vector_n.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/cpp03/vector_n.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (41, 50)
|
#define BOOST_PP_ITERATION_LIMITS (41, 50)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
#undef FUSION_HASH
|
#undef FUSION_HASH
|
||||||
|
@ -15,10 +15,10 @@
|
|||||||
#include <boost/preprocessor/repetition/enum_params.hpp>
|
#include <boost/preprocessor/repetition/enum_params.hpp>
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector50_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector50_fwd.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/vector50_fwd.hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/vector50_fwd.hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
@ -38,7 +38,7 @@
|
|||||||
namespace boost { namespace fusion
|
namespace boost { namespace fusion
|
||||||
{
|
{
|
||||||
// expand vector41 to vector50
|
// expand vector41 to vector50
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/vector50_fwd.hpp>
|
#define BOOST_PP_FILENAME_1 <boost/fusion/container/vector/detail/cpp03/vector50_fwd.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (41, 50)
|
#define BOOST_PP_ITERATION_LIMITS (41, 50)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
}}
|
}}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#define FUSION_FORWARD_CTOR_FORWARD(z, n, _) BOOST_FUSION_FWD_ELEM(U##n, _##n)
|
#define FUSION_FORWARD_CTOR_FORWARD(z, n, _) BOOST_FUSION_FWD_ELEM(U##n, _##n)
|
||||||
|
|
||||||
#define BOOST_PP_FILENAME_1 \
|
#define BOOST_PP_FILENAME_1 \
|
||||||
<boost/fusion/container/vector/detail/vector_forward_ctor.hpp>
|
<boost/fusion/container/vector/detail/cpp03/vector_forward_ctor.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
|
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
|
|
||||||
|
@ -9,28 +9,28 @@
|
|||||||
#define FUSION_VECTOR_FORWARD_07072005_0125
|
#define FUSION_VECTOR_FORWARD_07072005_0125
|
||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/vector/limits.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/limits.hpp>
|
||||||
#include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
|
#include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
|
||||||
|
|
||||||
#include <boost/fusion/container/vector/vector10.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector10.hpp>
|
||||||
#if (FUSION_MAX_VECTOR_SIZE > 10)
|
#if (FUSION_MAX_VECTOR_SIZE > 10)
|
||||||
#include <boost/fusion/container/vector/vector20.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector20.hpp>
|
||||||
#endif
|
#endif
|
||||||
#if (FUSION_MAX_VECTOR_SIZE > 20)
|
#if (FUSION_MAX_VECTOR_SIZE > 20)
|
||||||
#include <boost/fusion/container/vector/vector30.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector30.hpp>
|
||||||
#endif
|
#endif
|
||||||
#if (FUSION_MAX_VECTOR_SIZE > 30)
|
#if (FUSION_MAX_VECTOR_SIZE > 30)
|
||||||
#include <boost/fusion/container/vector/vector40.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector40.hpp>
|
||||||
#endif
|
#endif
|
||||||
#if (FUSION_MAX_VECTOR_SIZE > 40)
|
#if (FUSION_MAX_VECTOR_SIZE > 40)
|
||||||
#include <boost/fusion/container/vector/vector50.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector50.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector_fwd.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector_fwd.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/vvector" FUSION_MAX_VECTOR_SIZE_STR "_fwd.hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/vvector" FUSION_MAX_VECTOR_SIZE_STR "_fwd.hpp")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
|
@ -8,21 +8,21 @@
|
|||||||
#if !defined(FUSION_VECTOR_N_CHOOSER_07072005_1248)
|
#if !defined(FUSION_VECTOR_N_CHOOSER_07072005_1248)
|
||||||
#define FUSION_VECTOR_N_CHOOSER_07072005_1248
|
#define FUSION_VECTOR_N_CHOOSER_07072005_1248
|
||||||
|
|
||||||
#include <boost/fusion/container/vector/limits.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/limits.hpp>
|
||||||
|
|
||||||
// include vector0..N where N is FUSION_MAX_VECTOR_SIZE
|
// include vector0..N where N is FUSION_MAX_VECTOR_SIZE
|
||||||
#include <boost/fusion/container/vector/vector10.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector10.hpp>
|
||||||
#if (FUSION_MAX_VECTOR_SIZE > 10)
|
#if (FUSION_MAX_VECTOR_SIZE > 10)
|
||||||
#include <boost/fusion/container/vector/vector20.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector20.hpp>
|
||||||
#endif
|
#endif
|
||||||
#if (FUSION_MAX_VECTOR_SIZE > 20)
|
#if (FUSION_MAX_VECTOR_SIZE > 20)
|
||||||
#include <boost/fusion/container/vector/vector30.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector30.hpp>
|
||||||
#endif
|
#endif
|
||||||
#if (FUSION_MAX_VECTOR_SIZE > 30)
|
#if (FUSION_MAX_VECTOR_SIZE > 30)
|
||||||
#include <boost/fusion/container/vector/vector40.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector40.hpp>
|
||||||
#endif
|
#endif
|
||||||
#if (FUSION_MAX_VECTOR_SIZE > 40)
|
#if (FUSION_MAX_VECTOR_SIZE > 40)
|
||||||
#include <boost/fusion/container/vector/vector50.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/vector50.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/preprocessor/cat.hpp>
|
#include <boost/preprocessor/cat.hpp>
|
||||||
@ -38,7 +38,7 @@ namespace boost { namespace fusion
|
|||||||
}}
|
}}
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
#include <boost/fusion/container/vector/detail/preprocessed/vector_chooser.hpp>
|
#include <boost/fusion/container/vector/detail/cpp03/preprocessed/vector_chooser.hpp>
|
||||||
#else
|
#else
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/vector_chooser" FUSION_MAX_VECTOR_SIZE_STR ".hpp")
|
#pragma wave option(preserve: 2, line: 0, output: "preprocessed/vector_chooser" FUSION_MAX_VECTOR_SIZE_STR ".hpp")
|
||||||
@ -72,7 +72,7 @@ namespace boost { namespace fusion { namespace detail
|
|||||||
};
|
};
|
||||||
|
|
||||||
#define BOOST_PP_FILENAME_1 \
|
#define BOOST_PP_FILENAME_1 \
|
||||||
<boost/fusion/container/vector/detail/vector_n_chooser.hpp>
|
<boost/fusion/container/vector/detail/cpp03/vector_n_chooser.hpp>
|
||||||
#define BOOST_PP_ITERATION_LIMITS (1, BOOST_PP_DEC(FUSION_MAX_VECTOR_SIZE))
|
#define BOOST_PP_ITERATION_LIMITS (1, BOOST_PP_DEC(FUSION_MAX_VECTOR_SIZE))
|
||||||
#include BOOST_PP_ITERATE()
|
#include BOOST_PP_ITERATE()
|
||||||
|
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_VALUE_AT_IMPL_16122014_1641
|
||||||
|
#define FUSION_VALUE_AT_IMPL_16122014_1641
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Without variadics, we will use the PP version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/container/vector/detail/cpp03/value_at_impl.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
20
include/boost/fusion/container/vector/vector.hpp
Normal file
20
include/boost/fusion/container/vector/vector.hpp
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_VECTOR_11052014_1625
|
||||||
|
#define FUSION_VECTOR_11052014_1625
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
#include <boost/fusion/container/vector/vector_fwd.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Without variadics, we will use the PP version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/container/vector/detail/cpp03/vector.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
@ -0,0 +1,19 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_VECTOR10_11052014_2316
|
||||||
|
#define FUSION_VECTOR10_11052014_2316
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Without variadics, we will use the PP version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/container/vector/detail/cpp03/vector10.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_VECTOR20_11052014_2316
|
||||||
|
#define FUSION_VECTOR20_11052014_2316
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Without variadics, we will use the PP version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/container/vector/detail/cpp03/vector20.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_VECTOR30_11052014_2316
|
||||||
|
#define FUSION_VECTOR30_11052014_2316
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Without variadics, we will use the PP version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/container/vector/detail/cpp03/vector30.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_VECTOR40_11052014_2316
|
||||||
|
#define FUSION_VECTOR40_11052014_2316
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Without variadics, we will use the PP version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/container/vector/detail/cpp03/vector40.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_VECTOR50_11052014_2316
|
||||||
|
#define FUSION_VECTOR50_11052014_2316
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Without variadics, we will use the PP version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/container/vector/detail/cpp03/vector50.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@ -0,0 +1,19 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef FUSION_VECTOR_FORWARD_11052014_1626
|
||||||
|
#define FUSION_VECTOR_FORWARD_11052014_1626
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// With no variadics, we will use the C++03 version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/container/vector/detail/cpp03/vector_fwd.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
#if !defined(BOOST_FUSION_FUNCTIONAL_ADAPTER_LIMITS_HPP_INCLUDED)
|
#if !defined(BOOST_FUSION_FUNCTIONAL_ADAPTER_LIMITS_HPP_INCLUDED)
|
||||||
# define BOOST_FUSION_FUNCTIONAL_ADAPTER_LIMITS_HPP_INCLUDED
|
# define BOOST_FUSION_FUNCTIONAL_ADAPTER_LIMITS_HPP_INCLUDED
|
||||||
|
|
||||||
# include <boost/fusion/container/vector/limits.hpp>
|
# include <boost/fusion/container/vector/detail/cpp03/limits.hpp>
|
||||||
|
|
||||||
# if !defined(BOOST_FUSION_UNFUSED_MAX_ARITY)
|
# if !defined(BOOST_FUSION_UNFUSED_MAX_ARITY)
|
||||||
# define BOOST_FUSION_UNFUSED_MAX_ARITY 6
|
# define BOOST_FUSION_UNFUSED_MAX_ARITY 6
|
||||||
|
86
include/boost/fusion/tuple/detail/make_tuple.hpp
Normal file
86
include/boost/fusion/tuple/detail/make_tuple.hpp
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2001-2011 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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef BOOST_PP_IS_ITERATING
|
||||||
|
#if !defined(FUSION_MAKE_TUPLE_10032005_0843)
|
||||||
|
#define FUSION_MAKE_TUPLE_10032005_0843
|
||||||
|
|
||||||
|
#include <boost/preprocessor/iterate.hpp>
|
||||||
|
#include <boost/preprocessor/repetition/enum_params.hpp>
|
||||||
|
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
|
||||||
|
#include <boost/fusion/tuple/detail/tuple.hpp>
|
||||||
|
#include <boost/fusion/support/detail/as_fusion_element.hpp>
|
||||||
|
|
||||||
|
namespace boost { namespace fusion
|
||||||
|
{
|
||||||
|
BOOST_FUSION_GPU_ENABLED inline tuple<>
|
||||||
|
make_tuple()
|
||||||
|
{
|
||||||
|
return tuple<>();
|
||||||
|
}
|
||||||
|
}}
|
||||||
|
|
||||||
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
|
#include <boost/fusion/tuple/detail/preprocessed/make_tuple.hpp>
|
||||||
|
#else
|
||||||
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
|
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/make_tuple" FUSION_MAX_VECTOR_SIZE_STR ".hpp")
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2001-2011 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)
|
||||||
|
|
||||||
|
This is an auto-generated file. Do not edit!
|
||||||
|
==============================================================================*/
|
||||||
|
|
||||||
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
|
#pragma wave option(preserve: 1)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
namespace boost { namespace fusion
|
||||||
|
{
|
||||||
|
#define BOOST_FUSION_AS_FUSION_ELEMENT(z, n, data) \
|
||||||
|
typename detail::as_fusion_element<BOOST_PP_CAT(T, n)>::type
|
||||||
|
|
||||||
|
#define BOOST_PP_FILENAME_1 <boost/fusion/tuple/detail/make_tuple.hpp>
|
||||||
|
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
|
||||||
|
#include BOOST_PP_ITERATE()
|
||||||
|
|
||||||
|
#undef BOOST_FUSION_AS_FUSION_ELEMENT
|
||||||
|
|
||||||
|
}}
|
||||||
|
|
||||||
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
|
#pragma wave option(output: null)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
|
||||||
|
|
||||||
|
#endif
|
||||||
|
#else // defined(BOOST_PP_IS_ITERATING)
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Preprocessor vertical repetition code
|
||||||
|
//
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#define N BOOST_PP_ITERATION()
|
||||||
|
|
||||||
|
template <BOOST_PP_ENUM_PARAMS(N, typename T)>
|
||||||
|
BOOST_FUSION_GPU_ENABLED
|
||||||
|
inline tuple<BOOST_PP_ENUM(N, BOOST_FUSION_AS_FUSION_ELEMENT, _)>
|
||||||
|
make_tuple(BOOST_PP_ENUM_BINARY_PARAMS(N, T, const& arg))
|
||||||
|
{
|
||||||
|
return tuple<BOOST_PP_ENUM(N, BOOST_FUSION_AS_FUSION_ELEMENT, _)>(
|
||||||
|
BOOST_PP_ENUM_PARAMS(N, arg));
|
||||||
|
}
|
||||||
|
|
||||||
|
#undef N
|
||||||
|
#endif // defined(BOOST_PP_IS_ITERATING)
|
||||||
|
|
122
include/boost/fusion/tuple/detail/tuple.hpp
Normal file
122
include/boost/fusion/tuple/detail/tuple.hpp
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2001-2011 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_TUPLE_10032005_0810)
|
||||||
|
#define FUSION_TUPLE_10032005_0810
|
||||||
|
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
#include <boost/fusion/tuple/detail/tuple_fwd.hpp>
|
||||||
|
#include <boost/fusion/container/vector/vector.hpp>
|
||||||
|
#include <boost/fusion/sequence/intrinsic/size.hpp>
|
||||||
|
#include <boost/fusion/sequence/intrinsic/value_at.hpp>
|
||||||
|
#include <boost/fusion/sequence/intrinsic/at.hpp>
|
||||||
|
#include <boost/fusion/sequence/comparison.hpp>
|
||||||
|
#include <boost/fusion/sequence/io.hpp>
|
||||||
|
#include <boost/utility/enable_if.hpp>
|
||||||
|
#include <boost/type_traits/is_const.hpp>
|
||||||
|
#include <boost/config/no_tr1/utility.hpp>
|
||||||
|
|
||||||
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
|
#include <boost/fusion/tuple/detail/preprocessed/tuple.hpp>
|
||||||
|
#else
|
||||||
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
|
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/tuple" FUSION_MAX_VECTOR_SIZE_STR ".hpp")
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2001-2011 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)
|
||||||
|
|
||||||
|
This is an auto-generated file. Do not edit!
|
||||||
|
==============================================================================*/
|
||||||
|
|
||||||
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
|
#pragma wave option(preserve: 1)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
namespace boost { namespace fusion
|
||||||
|
{
|
||||||
|
template <BOOST_PP_ENUM_PARAMS(FUSION_MAX_VECTOR_SIZE, typename T)>
|
||||||
|
struct tuple : vector<BOOST_PP_ENUM_PARAMS(FUSION_MAX_VECTOR_SIZE, T)>
|
||||||
|
{
|
||||||
|
typedef vector<
|
||||||
|
BOOST_PP_ENUM_PARAMS(FUSION_MAX_VECTOR_SIZE, T)>
|
||||||
|
base_type;
|
||||||
|
|
||||||
|
BOOST_FUSION_GPU_ENABLED tuple()
|
||||||
|
: base_type() {}
|
||||||
|
|
||||||
|
BOOST_FUSION_GPU_ENABLED tuple(tuple const& rhs)
|
||||||
|
: base_type(rhs) {}
|
||||||
|
|
||||||
|
template <typename U1, typename U2>
|
||||||
|
BOOST_FUSION_GPU_ENABLED
|
||||||
|
tuple(std::pair<U1, U2> const& rhs)
|
||||||
|
: base_type(rhs) {}
|
||||||
|
|
||||||
|
#include <boost/fusion/tuple/detail/tuple_expand.hpp>
|
||||||
|
|
||||||
|
template <typename T>
|
||||||
|
BOOST_FUSION_GPU_ENABLED
|
||||||
|
tuple& operator=(T const& rhs)
|
||||||
|
{
|
||||||
|
base_type::operator=(rhs);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOST_FUSION_GPU_ENABLED
|
||||||
|
tuple& operator=(tuple const& rhs)
|
||||||
|
{
|
||||||
|
base_type::operator=(rhs);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
template <typename U1, typename U2>
|
||||||
|
BOOST_FUSION_GPU_ENABLED
|
||||||
|
tuple& operator=(std::pair<U1, U2> const& rhs)
|
||||||
|
{
|
||||||
|
base_type::operator=(rhs);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
template <typename Tuple>
|
||||||
|
struct tuple_size : result_of::size<Tuple> {};
|
||||||
|
|
||||||
|
template <int N, typename Tuple>
|
||||||
|
struct tuple_element : result_of::value_at_c<Tuple, N> {};
|
||||||
|
|
||||||
|
template <int N, typename Tuple>
|
||||||
|
BOOST_FUSION_GPU_ENABLED
|
||||||
|
inline typename
|
||||||
|
lazy_disable_if<
|
||||||
|
is_const<Tuple>
|
||||||
|
, result_of::at_c<Tuple, N>
|
||||||
|
>::type
|
||||||
|
get(Tuple& tup)
|
||||||
|
{
|
||||||
|
return at_c<N>(tup);
|
||||||
|
}
|
||||||
|
|
||||||
|
template <int N, typename Tuple>
|
||||||
|
BOOST_FUSION_GPU_ENABLED
|
||||||
|
inline typename result_of::at_c<Tuple const, N>::type
|
||||||
|
get(Tuple const& tup)
|
||||||
|
{
|
||||||
|
return at_c<N>(tup);
|
||||||
|
}
|
||||||
|
}}
|
||||||
|
|
||||||
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
|
#pragma wave option(output: null)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
52
include/boost/fusion/tuple/detail/tuple_fwd.hpp
Normal file
52
include/boost/fusion/tuple/detail/tuple_fwd.hpp
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2001-2011 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_TUPLE_FORWARD_10032005_0956)
|
||||||
|
#define FUSION_TUPLE_FORWARD_10032005_0956
|
||||||
|
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
#include <boost/fusion/container/vector/detail/cpp03/limits.hpp>
|
||||||
|
#include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
|
||||||
|
|
||||||
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
|
#include <boost/fusion/tuple/detail/preprocessed/tuple_fwd.hpp>
|
||||||
|
#else
|
||||||
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
|
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/tuple" FUSION_MAX_VECTOR_SIZE_STR "_fwd.hpp")
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2001-2011 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)
|
||||||
|
|
||||||
|
This is an auto-generated file. Do not edit!
|
||||||
|
==============================================================================*/
|
||||||
|
|
||||||
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
|
#pragma wave option(preserve: 1)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
namespace boost { namespace fusion
|
||||||
|
{
|
||||||
|
struct void_;
|
||||||
|
|
||||||
|
template <
|
||||||
|
BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(
|
||||||
|
FUSION_MAX_VECTOR_SIZE, typename T, void_)
|
||||||
|
>
|
||||||
|
struct tuple;
|
||||||
|
}}
|
||||||
|
|
||||||
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
|
#pragma wave option(output: null)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
76
include/boost/fusion/tuple/detail/tuple_tie.hpp
Normal file
76
include/boost/fusion/tuple/detail/tuple_tie.hpp
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2001-2011 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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef BOOST_PP_IS_ITERATING
|
||||||
|
#if !defined(FUSION_TUPLE_TIE_10032005_0846)
|
||||||
|
#define FUSION_TUPLE_TIE_10032005_0846
|
||||||
|
|
||||||
|
#include <boost/preprocessor/iterate.hpp>
|
||||||
|
#include <boost/preprocessor/cat.hpp>
|
||||||
|
#include <boost/preprocessor/repetition/enum_params.hpp>
|
||||||
|
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
|
||||||
|
#include <boost/fusion/tuple/detail/tuple.hpp>
|
||||||
|
|
||||||
|
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
||||||
|
#include <boost/fusion/tuple/detail/preprocessed/tuple_tie.hpp>
|
||||||
|
#else
|
||||||
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
|
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/tuple_tie" FUSION_MAX_VECTOR_SIZE_STR ".hpp")
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2001-2011 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)
|
||||||
|
|
||||||
|
This is an auto-generated file. Do not edit!
|
||||||
|
==============================================================================*/
|
||||||
|
|
||||||
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
|
#pragma wave option(preserve: 1)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
namespace boost { namespace fusion
|
||||||
|
{
|
||||||
|
#define BOOST_FUSION_REF(z, n, data) BOOST_PP_CAT(T, n)&
|
||||||
|
|
||||||
|
#define BOOST_PP_FILENAME_1 <boost/fusion/tuple/detail/tuple_tie.hpp>
|
||||||
|
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
|
||||||
|
#include BOOST_PP_ITERATE()
|
||||||
|
|
||||||
|
#undef BOOST_FUSION_REF
|
||||||
|
|
||||||
|
}}
|
||||||
|
|
||||||
|
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
||||||
|
#pragma wave option(output: null)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
|
||||||
|
|
||||||
|
#endif
|
||||||
|
#else // defined(BOOST_PP_IS_ITERATING)
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Preprocessor vertical repetition code
|
||||||
|
//
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#define N BOOST_PP_ITERATION()
|
||||||
|
|
||||||
|
template <BOOST_PP_ENUM_PARAMS(N, typename T)>
|
||||||
|
BOOST_FUSION_GPU_ENABLED
|
||||||
|
inline tuple<BOOST_PP_ENUM(N, BOOST_FUSION_REF, _)>
|
||||||
|
tie(BOOST_PP_ENUM_BINARY_PARAMS(N, T, & arg))
|
||||||
|
{
|
||||||
|
return tuple<BOOST_PP_ENUM(N, BOOST_FUSION_REF, _)>(
|
||||||
|
BOOST_PP_ENUM_PARAMS(N, arg));
|
||||||
|
}
|
||||||
|
|
||||||
|
#undef N
|
||||||
|
#endif // defined(BOOST_PP_IS_ITERATING)
|
||||||
|
|
@ -1,86 +1,19 @@
|
|||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Copyright (c) 2001-2011 Joel de Guzman
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
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)
|
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
#ifndef BOOST_PP_IS_ITERATING
|
#ifndef FUSION_MAKE_TUPLE_14122014_0048
|
||||||
#if !defined(FUSION_MAKE_TUPLE_10032005_0843)
|
#define FUSION_MAKE_TUPLE_14122014_0048
|
||||||
#define FUSION_MAKE_TUPLE_10032005_0843
|
|
||||||
|
|
||||||
#include <boost/preprocessor/iterate.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/preprocessor/repetition/enum_params.hpp>
|
#include <boost/fusion/tuple/tuple_fwd.hpp>
|
||||||
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
|
|
||||||
#include <boost/fusion/tuple/tuple.hpp>
|
|
||||||
#include <boost/fusion/support/detail/as_fusion_element.hpp>
|
|
||||||
|
|
||||||
namespace boost { namespace fusion
|
|
||||||
{
|
|
||||||
BOOST_FUSION_GPU_ENABLED inline tuple<>
|
|
||||||
make_tuple()
|
|
||||||
{
|
|
||||||
return tuple<>();
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
|
||||||
#include <boost/fusion/tuple/detail/preprocessed/make_tuple.hpp>
|
|
||||||
#else
|
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/make_tuple" FUSION_MAX_VECTOR_SIZE_STR ".hpp")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*=============================================================================
|
|
||||||
Copyright (c) 2001-2011 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)
|
|
||||||
|
|
||||||
This is an auto-generated file. Do not edit!
|
|
||||||
==============================================================================*/
|
|
||||||
|
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
|
||||||
#pragma wave option(preserve: 1)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace boost { namespace fusion
|
|
||||||
{
|
|
||||||
#define BOOST_FUSION_AS_FUSION_ELEMENT(z, n, data) \
|
|
||||||
typename detail::as_fusion_element<BOOST_PP_CAT(T, n)>::type
|
|
||||||
|
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/tuple/make_tuple.hpp>
|
|
||||||
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
|
|
||||||
#include BOOST_PP_ITERATE()
|
|
||||||
|
|
||||||
#undef BOOST_FUSION_AS_FUSION_ELEMENT
|
|
||||||
|
|
||||||
}}
|
|
||||||
|
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
|
||||||
#pragma wave option(output: null)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
|
|
||||||
|
|
||||||
#endif
|
|
||||||
#else // defined(BOOST_PP_IS_ITERATING)
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
// With no variadics, we will use the C++03 version
|
||||||
// Preprocessor vertical repetition code
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/tuple/detail/make_tuple.hpp>
|
||||||
|
|
||||||
#define N BOOST_PP_ITERATION()
|
#endif
|
||||||
|
|
||||||
template <BOOST_PP_ENUM_PARAMS(N, typename T)>
|
|
||||||
BOOST_FUSION_GPU_ENABLED
|
|
||||||
inline tuple<BOOST_PP_ENUM(N, BOOST_FUSION_AS_FUSION_ELEMENT, _)>
|
|
||||||
make_tuple(BOOST_PP_ENUM_BINARY_PARAMS(N, T, const& arg))
|
|
||||||
{
|
|
||||||
return tuple<BOOST_PP_ENUM(N, BOOST_FUSION_AS_FUSION_ELEMENT, _)>(
|
|
||||||
BOOST_PP_ENUM_PARAMS(N, arg));
|
|
||||||
}
|
|
||||||
|
|
||||||
#undef N
|
|
||||||
#endif // defined(BOOST_PP_IS_ITERATING)
|
|
||||||
|
|
||||||
|
@ -1,122 +1,19 @@
|
|||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Copyright (c) 2001-2011 Joel de Guzman
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
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)
|
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
#if !defined(FUSION_TUPLE_10032005_0810)
|
#ifndef FUSION_TUPLE_14122014_0102
|
||||||
#define FUSION_TUPLE_10032005_0810
|
#define FUSION_TUPLE_14122014_0102
|
||||||
|
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/tuple/tuple_fwd.hpp>
|
#include <boost/fusion/tuple/tuple_fwd.hpp>
|
||||||
#include <boost/fusion/container/vector/vector.hpp>
|
|
||||||
#include <boost/fusion/sequence/intrinsic/size.hpp>
|
|
||||||
#include <boost/fusion/sequence/intrinsic/value_at.hpp>
|
|
||||||
#include <boost/fusion/sequence/intrinsic/at.hpp>
|
|
||||||
#include <boost/fusion/sequence/comparison.hpp>
|
|
||||||
#include <boost/fusion/sequence/io.hpp>
|
|
||||||
#include <boost/utility/enable_if.hpp>
|
|
||||||
#include <boost/type_traits/is_const.hpp>
|
|
||||||
#include <boost/config/no_tr1/utility.hpp>
|
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
#include <boost/fusion/tuple/detail/preprocessed/tuple.hpp>
|
// With no variadics, we will use the C++03 version
|
||||||
#else
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
# include <boost/fusion/tuple/detail/tuple.hpp>
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/tuple" FUSION_MAX_VECTOR_SIZE_STR ".hpp")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*=============================================================================
|
|
||||||
Copyright (c) 2001-2011 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)
|
|
||||||
|
|
||||||
This is an auto-generated file. Do not edit!
|
|
||||||
==============================================================================*/
|
|
||||||
|
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
|
||||||
#pragma wave option(preserve: 1)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace boost { namespace fusion
|
|
||||||
{
|
|
||||||
template <BOOST_PP_ENUM_PARAMS(FUSION_MAX_VECTOR_SIZE, typename T)>
|
|
||||||
struct tuple : vector<BOOST_PP_ENUM_PARAMS(FUSION_MAX_VECTOR_SIZE, T)>
|
|
||||||
{
|
|
||||||
typedef vector<
|
|
||||||
BOOST_PP_ENUM_PARAMS(FUSION_MAX_VECTOR_SIZE, T)>
|
|
||||||
base_type;
|
|
||||||
|
|
||||||
BOOST_FUSION_GPU_ENABLED tuple()
|
|
||||||
: base_type() {}
|
|
||||||
|
|
||||||
BOOST_FUSION_GPU_ENABLED tuple(tuple const& rhs)
|
|
||||||
: base_type(rhs) {}
|
|
||||||
|
|
||||||
template <typename U1, typename U2>
|
|
||||||
BOOST_FUSION_GPU_ENABLED
|
|
||||||
tuple(std::pair<U1, U2> const& rhs)
|
|
||||||
: base_type(rhs) {}
|
|
||||||
|
|
||||||
#include <boost/fusion/tuple/detail/tuple_expand.hpp>
|
|
||||||
|
|
||||||
template <typename T>
|
|
||||||
BOOST_FUSION_GPU_ENABLED
|
|
||||||
tuple& operator=(T const& rhs)
|
|
||||||
{
|
|
||||||
base_type::operator=(rhs);
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOST_FUSION_GPU_ENABLED
|
|
||||||
tuple& operator=(tuple const& rhs)
|
|
||||||
{
|
|
||||||
base_type::operator=(rhs);
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <typename U1, typename U2>
|
|
||||||
BOOST_FUSION_GPU_ENABLED
|
|
||||||
tuple& operator=(std::pair<U1, U2> const& rhs)
|
|
||||||
{
|
|
||||||
base_type::operator=(rhs);
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
template <typename Tuple>
|
|
||||||
struct tuple_size : result_of::size<Tuple> {};
|
|
||||||
|
|
||||||
template <int N, typename Tuple>
|
|
||||||
struct tuple_element : result_of::value_at_c<Tuple, N> {};
|
|
||||||
|
|
||||||
template <int N, typename Tuple>
|
|
||||||
BOOST_FUSION_GPU_ENABLED
|
|
||||||
inline typename
|
|
||||||
lazy_disable_if<
|
|
||||||
is_const<Tuple>
|
|
||||||
, result_of::at_c<Tuple, N>
|
|
||||||
>::type
|
|
||||||
get(Tuple& tup)
|
|
||||||
{
|
|
||||||
return at_c<N>(tup);
|
|
||||||
}
|
|
||||||
|
|
||||||
template <int N, typename Tuple>
|
|
||||||
BOOST_FUSION_GPU_ENABLED
|
|
||||||
inline typename result_of::at_c<Tuple const, N>::type
|
|
||||||
get(Tuple const& tup)
|
|
||||||
{
|
|
||||||
return at_c<N>(tup);
|
|
||||||
}
|
|
||||||
}}
|
|
||||||
|
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
|
||||||
#pragma wave option(output: null)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,52 +1,19 @@
|
|||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Copyright (c) 2001-2011 Joel de Guzman
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
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)
|
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
#if !defined(FUSION_TUPLE_FORWARD_10032005_0956)
|
#ifndef FUSION_TUPLE_FORWARD_14122014_0051
|
||||||
#define FUSION_TUPLE_FORWARD_10032005_0956
|
#define FUSION_TUPLE_FORWARD_14122014_0051
|
||||||
|
|
||||||
|
#include <boost/config.hpp>
|
||||||
#include <boost/fusion/support/config.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/fusion/container/vector/limits.hpp>
|
|
||||||
#include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
|
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
#include <boost/fusion/tuple/detail/preprocessed/tuple_fwd.hpp>
|
// With no variadics, we will use the C++03 version
|
||||||
#else
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
# include <boost/fusion/tuple/detail/tuple_fwd.hpp>
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/tuple" FUSION_MAX_VECTOR_SIZE_STR "_fwd.hpp")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*=============================================================================
|
|
||||||
Copyright (c) 2001-2011 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)
|
|
||||||
|
|
||||||
This is an auto-generated file. Do not edit!
|
|
||||||
==============================================================================*/
|
|
||||||
|
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
|
||||||
#pragma wave option(preserve: 1)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace boost { namespace fusion
|
|
||||||
{
|
|
||||||
struct void_;
|
|
||||||
|
|
||||||
template <
|
|
||||||
BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(
|
|
||||||
FUSION_MAX_VECTOR_SIZE, typename T, void_)
|
|
||||||
>
|
|
||||||
struct tuple;
|
|
||||||
}}
|
|
||||||
|
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
|
||||||
#pragma wave option(output: null)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,76 +1,19 @@
|
|||||||
/*=============================================================================
|
/*=============================================================================
|
||||||
Copyright (c) 2001-2011 Joel de Guzman
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
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)
|
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
#ifndef BOOST_PP_IS_ITERATING
|
#ifndef FUSION_TUPLE_TIE_14122014_0115
|
||||||
#if !defined(FUSION_TUPLE_TIE_10032005_0846)
|
#define FUSION_TUPLE_TIE_14122014_0115
|
||||||
#define FUSION_TUPLE_TIE_10032005_0846
|
|
||||||
|
|
||||||
#include <boost/preprocessor/iterate.hpp>
|
#include <boost/fusion/support/config.hpp>
|
||||||
#include <boost/preprocessor/cat.hpp>
|
#include <boost/fusion/tuple/tuple_fwd.hpp>
|
||||||
#include <boost/preprocessor/repetition/enum_params.hpp>
|
|
||||||
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
|
|
||||||
#include <boost/fusion/tuple/tuple.hpp>
|
|
||||||
|
|
||||||
#if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
|
|
||||||
#include <boost/fusion/tuple/detail/preprocessed/tuple_tie.hpp>
|
|
||||||
#else
|
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
|
||||||
#pragma wave option(preserve: 2, line: 0, output: "detail/preprocessed/tuple_tie" FUSION_MAX_VECTOR_SIZE_STR ".hpp")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*=============================================================================
|
|
||||||
Copyright (c) 2001-2011 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)
|
|
||||||
|
|
||||||
This is an auto-generated file. Do not edit!
|
|
||||||
==============================================================================*/
|
|
||||||
|
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
|
||||||
#pragma wave option(preserve: 1)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
namespace boost { namespace fusion
|
|
||||||
{
|
|
||||||
#define BOOST_FUSION_REF(z, n, data) BOOST_PP_CAT(T, n)&
|
|
||||||
|
|
||||||
#define BOOST_PP_FILENAME_1 <boost/fusion/tuple/tuple_tie.hpp>
|
|
||||||
#define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
|
|
||||||
#include BOOST_PP_ITERATE()
|
|
||||||
|
|
||||||
#undef BOOST_FUSION_REF
|
|
||||||
|
|
||||||
}}
|
|
||||||
|
|
||||||
#if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
|
|
||||||
#pragma wave option(output: null)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
|
|
||||||
|
|
||||||
#endif
|
|
||||||
#else // defined(BOOST_PP_IS_ITERATING)
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
//
|
// With no variadics, we will use the C++03 version
|
||||||
// Preprocessor vertical repetition code
|
|
||||||
//
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/tuple/detail/tuple_tie.hpp>
|
||||||
|
|
||||||
#define N BOOST_PP_ITERATION()
|
#endif
|
||||||
|
|
||||||
template <BOOST_PP_ENUM_PARAMS(N, typename T)>
|
|
||||||
BOOST_FUSION_GPU_ENABLED
|
|
||||||
inline tuple<BOOST_PP_ENUM(N, BOOST_FUSION_REF, _)>
|
|
||||||
tie(BOOST_PP_ENUM_BINARY_PARAMS(N, T, & arg))
|
|
||||||
{
|
|
||||||
return tuple<BOOST_PP_ENUM(N, BOOST_FUSION_REF, _)>(
|
|
||||||
BOOST_PP_ENUM_PARAMS(N, arg));
|
|
||||||
}
|
|
||||||
|
|
||||||
#undef N
|
|
||||||
#endif // defined(BOOST_PP_IS_ITERATING)
|
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#define BOOST_PP_ITERATION_PARAMS_1 \
|
#define BOOST_PP_ITERATION_PARAMS_1 \
|
||||||
(3, (1, FUSION_MAX_VECTOR_SIZE, \
|
(3, (1, FUSION_MAX_VECTOR_SIZE, \
|
||||||
"boost/fusion/view/nview/detail/nview_impl.hpp")) \
|
"boost/fusion/view/nview/detail/cpp03/nview_impl.hpp")) \
|
||||||
/**/
|
/**/
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
/*=============================================================================
|
||||||
|
Copyright (c) 2014 Kohei Takahashi
|
||||||
|
|
||||||
|
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)
|
||||||
|
==============================================================================*/
|
||||||
|
#ifndef BOOST_FUSION_NVIEW_IMPL_17122014_1948
|
||||||
|
#define BOOST_FUSION_NVIEW_IMPL_17122014_1948
|
||||||
|
|
||||||
|
#include <boost/fusion/support/config.hpp>
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Without variadics, we will use the PP version
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
# include <boost/fusion/view/nview/detail/cpp03/nview_impl.hpp>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user