Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:47:51

0001 /*=============================================================================
0002     Copyright (c) 2001-2011 Joel de Guzman
0003     Copyright (c) 2006 Dan Marsden
0004 
0005     Distributed under the Boost Software License, Version 1.0. (See accompanying
0006     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0007 ==============================================================================*/
0008 #ifndef BOOST_PP_IS_ITERATING
0009 #if !defined(FUSION_PP_DEQUE_TIE_07192005_1242)
0010 #define FUSION_PP_DEQUE_TIE_07192005_1242
0011 
0012 #include <boost/preprocessor/iterate.hpp>
0013 #include <boost/preprocessor/cat.hpp>
0014 #include <boost/preprocessor/repetition/enum_params.hpp>
0015 #include <boost/preprocessor/repetition/enum_binary_params.hpp>
0016 #include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
0017 #include <boost/preprocessor/repetition/repeat_from_to.hpp>
0018 #include <boost/fusion/container/deque/deque.hpp>
0019 
0020 #if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
0021 #include <boost/fusion/container/generation/detail/preprocessed/deque_tie.hpp>
0022 #else
0023 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
0024 #pragma wave option(preserve: 2, line: 0, output: "preprocessed/deque_tie" FUSION_MAX_DEQUE_SIZE_STR ".hpp")
0025 #endif
0026 
0027 /*=============================================================================
0028     Copyright (c) 2001-2011 Joel de Guzman
0029 
0030     Distributed under the Boost Software License, Version 1.0. (See accompanying
0031     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0032 
0033     This is an auto-generated file. Do not edit!
0034 ==============================================================================*/
0035 
0036 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
0037 #pragma wave option(preserve: 1)
0038 #endif
0039 
0040 namespace boost { namespace fusion
0041 {
0042     struct void_;
0043 
0044     namespace result_of
0045     {
0046         template <
0047             BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(
0048                 FUSION_MAX_DEQUE_SIZE, typename T, void_)
0049           , typename Extra = void_
0050         >
0051         struct deque_tie;
0052     }
0053 
0054 #define BOOST_FUSION_REF(z, n, data) BOOST_PP_CAT(T, n)&
0055 
0056 #define BOOST_PP_FILENAME_1 <boost/fusion/container/generation/detail/pp_deque_tie.hpp>
0057 #define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_DEQUE_SIZE)
0058 #include BOOST_PP_ITERATE()
0059 
0060 #undef BOOST_FUSION_REF
0061 
0062 }}
0063 
0064 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
0065 #pragma wave option(output: null)
0066 #endif
0067 
0068 #endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
0069 
0070 #endif
0071 #else // defined(BOOST_PP_IS_ITERATING)
0072 ///////////////////////////////////////////////////////////////////////////////
0073 //
0074 //  Preprocessor vertical repetition code
0075 //
0076 ///////////////////////////////////////////////////////////////////////////////
0077 
0078 #define N BOOST_PP_ITERATION()
0079 
0080     namespace result_of
0081     {
0082         template <BOOST_PP_ENUM_PARAMS(N, typename T)>
0083         #define TEXT(z, n, text) , text
0084         struct deque_tie< BOOST_PP_ENUM_PARAMS(N, T) BOOST_PP_REPEAT_FROM_TO(BOOST_PP_DEC(N), FUSION_MAX_DEQUE_SIZE, TEXT, void_) >
0085         #undef TEXT
0086         {
0087             typedef deque<BOOST_PP_ENUM(N, BOOST_FUSION_REF, _)> type;
0088         };
0089     }
0090 
0091     template <BOOST_PP_ENUM_PARAMS(N, typename T)>
0092     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0093     inline deque<BOOST_PP_ENUM(N, BOOST_FUSION_REF, _)>
0094     deque_tie(BOOST_PP_ENUM_BINARY_PARAMS(N, T, & arg))
0095     {
0096         return deque<BOOST_PP_ENUM(N, BOOST_FUSION_REF, _)>(
0097             BOOST_PP_ENUM_PARAMS(N, arg));
0098     }
0099 
0100 #undef N
0101 #endif // defined(BOOST_PP_IS_ITERATING)
0102