Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:34:58

0001 /*=============================================================================
0002     Copyright (c) 2001-2011 Joel de Guzman
0003 
0004     Distributed under the Boost Software License, Version 1.0. (See accompanying
0005     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 ==============================================================================*/
0007 #ifndef BOOST_PP_IS_ITERATING
0008 #if !defined(FUSION_TUPLE_TIE_10032005_0846)
0009 #define FUSION_TUPLE_TIE_10032005_0846
0010 
0011 #include <boost/preprocessor/iterate.hpp>
0012 #include <boost/preprocessor/cat.hpp>
0013 #include <boost/preprocessor/repetition/enum_params.hpp>
0014 #include <boost/preprocessor/repetition/enum_binary_params.hpp>
0015 #include <boost/fusion/tuple/detail/tuple.hpp>
0016 
0017 #if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
0018 #include <boost/fusion/tuple/detail/preprocessed/tuple_tie.hpp>
0019 #else
0020 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
0021 #pragma wave option(preserve: 2, line: 0, output: "preprocessed/tuple_tie" FUSION_MAX_VECTOR_SIZE_STR ".hpp")
0022 #endif
0023 
0024 /*=============================================================================
0025     Copyright (c) 2001-2011 Joel de Guzman
0026 
0027     Distributed under the Boost Software License, Version 1.0. (See accompanying
0028     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0029 
0030     This is an auto-generated file. Do not edit!
0031 ==============================================================================*/
0032 
0033 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
0034 #pragma wave option(preserve: 1)
0035 #endif
0036 
0037 namespace boost { namespace fusion
0038 {
0039 #define BOOST_FUSION_REF(z, n, data) BOOST_PP_CAT(T, n)&
0040 
0041 #define BOOST_PP_FILENAME_1 <boost/fusion/tuple/detail/tuple_tie.hpp>
0042 #define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
0043 #include BOOST_PP_ITERATE()
0044 
0045 #undef BOOST_FUSION_REF
0046 
0047 }}
0048 
0049 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
0050 #pragma wave option(output: null)
0051 #endif
0052 
0053 #endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
0054 
0055 #endif
0056 #else // defined(BOOST_PP_IS_ITERATING)
0057 ///////////////////////////////////////////////////////////////////////////////
0058 //
0059 //  Preprocessor vertical repetition code
0060 //
0061 ///////////////////////////////////////////////////////////////////////////////
0062 
0063 #define N BOOST_PP_ITERATION()
0064 
0065     template <BOOST_PP_ENUM_PARAMS(N, typename T)>
0066     BOOST_FUSION_GPU_ENABLED
0067     inline tuple<BOOST_PP_ENUM(N, BOOST_FUSION_REF, _)>
0068     tie(BOOST_PP_ENUM_BINARY_PARAMS(N, T, & arg))
0069     {
0070         return tuple<BOOST_PP_ENUM(N, BOOST_FUSION_REF, _)>(
0071             BOOST_PP_ENUM_PARAMS(N, arg));
0072     }
0073 
0074 #undef N
0075 #endif // defined(BOOST_PP_IS_ITERATING)
0076