forked from boostorg/fusion
Likewise.
This commit is contained in:
@@ -8,16 +8,16 @@
|
||||
#define FUSION_LIST_07172005_1153
|
||||
|
||||
#include <boost/fusion/support/config.hpp>
|
||||
#include <boost/fusion/container/list/list_fwd.hpp>
|
||||
#include <boost/fusion/container/list/detail/list_to_cons.hpp>
|
||||
#include <boost/fusion/container/list/detail/cpp03/list_fwd.hpp>
|
||||
#include <boost/fusion/container/list/detail/cpp03/list_to_cons.hpp>
|
||||
#include <boost/fusion/support/is_sequence.hpp>
|
||||
#include <boost/core/enable_if.hpp>
|
||||
|
||||
#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
|
||||
#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
|
||||
|
||||
/*=============================================================================
|
||||
@@ -72,7 +72,7 @@ namespace boost { namespace fusion
|
||||
// typename detail::call_param<T0>::type arg0
|
||||
// , typename detail::call_param<T1>::type 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)>
|
||||
BOOST_CXX14_CONSTEXPR BOOST_FUSION_GPU_ENABLED
|
||||
|
@@ -18,7 +18,7 @@
|
||||
#define FUSION_LIST_CL_PAREN(z, n, type) )
|
||||
|
||||
#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)
|
||||
#include BOOST_PP_ITERATE()
|
||||
|
||||
|
@@ -8,14 +8,14 @@
|
||||
#define FUSION_LIST_FORWARD_07172005_0224
|
||||
|
||||
#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>
|
||||
|
||||
#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
|
||||
#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
|
||||
|
||||
/*=============================================================================
|
||||
|
@@ -9,7 +9,7 @@
|
||||
|
||||
#include <boost/fusion/support/config.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_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)
|
||||
#include <boost/fusion/container/list/detail/preprocessed/list_to_cons.hpp>
|
||||
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons.hpp>
|
||||
#else
|
||||
#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")
|
||||
@@ -56,7 +56,7 @@ namespace boost { namespace fusion { namespace detail
|
||||
|
||||
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 <>
|
||||
|
@@ -13,7 +13,7 @@
|
||||
#include <boost/preprocessor/repetition/enum_binary_params.hpp>
|
||||
|
||||
#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)
|
||||
#include BOOST_PP_ITERATE()
|
||||
|
||||
|
@@ -8,15 +8,15 @@
|
||||
==============================================================================*/
|
||||
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#include <boost/fusion/container/list/detail/preprocessed/list50.hpp>
|
||||
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list50.hpp>
|
||||
#else
|
||||
#error "FUSION_MAX_LIST_SIZE out of bounds for preprocessed headers"
|
||||
#endif
|
||||
|
@@ -8,15 +8,15 @@
|
||||
==============================================================================*/
|
||||
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#include <boost/fusion/container/list/detail/preprocessed/list50_fwd.hpp>
|
||||
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list50_fwd.hpp>
|
||||
#else
|
||||
#error "FUSION_MAX_LIST_SIZE out of bounds for preprocessed headers"
|
||||
#endif
|
||||
|
@@ -8,15 +8,15 @@
|
||||
==============================================================================*/
|
||||
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#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
|
||||
#include <boost/fusion/container/list/detail/preprocessed/list_to_cons50.hpp>
|
||||
#include <boost/fusion/container/list/detail/cpp03/preprocessed/list_to_cons50.hpp>
|
||||
#else
|
||||
#error "FUSION_MAX_LIST_SIZE out of bounds for preprocessed headers"
|
||||
#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
|
||||
|
Reference in New Issue
Block a user