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 
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_MAKE_SET_09162005_1125)
0009 #define FUSION_MAKE_SET_09162005_1125
0010 
0011 #include <boost/preprocessor/iterate.hpp>
0012 #include <boost/preprocessor/repetition/enum_params.hpp>
0013 #include <boost/preprocessor/repetition/enum_binary_params.hpp>
0014 #include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
0015 #include <boost/preprocessor/repetition/repeat_from_to.hpp>
0016 #include <boost/fusion/support/config.hpp>
0017 #include <boost/fusion/container/set/set.hpp>
0018 #include <boost/fusion/support/detail/as_fusion_element.hpp>
0019 #include <boost/fusion/support/pair.hpp>
0020 
0021 #if !defined(BOOST_FUSION_DONT_USE_PREPROCESSED_FILES)
0022 #include <boost/fusion/container/generation/detail/preprocessed/make_set.hpp>
0023 #else
0024 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
0025 #pragma wave option(preserve: 2, line: 0, output: "preprocessed/make_set" FUSION_MAX_SET_SIZE_STR".hpp")
0026 #endif
0027 
0028 /*=============================================================================
0029     Copyright (c) 2001-2011 Joel de Guzman
0030 
0031     Distributed under the Boost Software License, Version 1.0. (See accompanying
0032     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0033 
0034     This is an auto-generated file. Do not edit!
0035 ==============================================================================*/
0036 
0037 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
0038 #pragma wave option(preserve: 1)
0039 #define FUSION_HASH #
0040 #endif
0041 
0042 namespace boost { namespace fusion
0043 {
0044     struct void_;
0045 
0046     namespace result_of
0047     {
0048         template <
0049             BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(
0050                 FUSION_MAX_VECTOR_SIZE, typename T, void_)
0051           , typename Extra = void_
0052         >
0053         struct make_set;
0054 
0055         template <>
0056         struct make_set<>
0057         {
0058             typedef set<> type;
0059         };
0060     }
0061 
0062     // XXX:
0063 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
0064 FUSION_HASH if defined(BOOST_CLANG)
0065     BOOST_CXX14_CONSTEXPR
0066 FUSION_HASH else
0067     BOOST_CONSTEXPR
0068 FUSION_HASH endif
0069 #else
0070 #if defined(BOOST_CLANG)
0071     BOOST_CXX14_CONSTEXPR
0072 #else
0073     BOOST_CONSTEXPR
0074 #endif
0075 #endif
0076     BOOST_FUSION_GPU_ENABLED
0077     inline set<>
0078     make_set()
0079     {
0080         return set<>();
0081     }
0082 
0083 #define BOOST_FUSION_AS_FUSION_ELEMENT(z, n, data)                               \
0084     typename detail::as_fusion_element<BOOST_PP_CAT(T, n)>::type
0085 
0086 #define BOOST_PP_FILENAME_1 <boost/fusion/container/generation/detail/pp_make_set.hpp>
0087 #define BOOST_PP_ITERATION_LIMITS (1, FUSION_MAX_VECTOR_SIZE)
0088 #include BOOST_PP_ITERATE()
0089 
0090 #undef BOOST_FUSION_ELEMENT
0091 #undef BOOST_FUSION_AS_ELEMENT
0092 
0093 }}
0094 
0095 #if defined(__WAVE__) && defined(BOOST_FUSION_CREATE_PREPROCESSED_FILES)
0096 #undef FUSION_HASH
0097 #pragma wave option(output: null)
0098 #endif
0099 
0100 #endif // BOOST_FUSION_DONT_USE_PREPROCESSED_FILES
0101 
0102 #endif
0103 #else // defined(BOOST_PP_IS_ITERATING)
0104 ///////////////////////////////////////////////////////////////////////////////
0105 //
0106 //  Preprocessor vertical repetition code
0107 //
0108 ///////////////////////////////////////////////////////////////////////////////
0109 
0110 #define N BOOST_PP_ITERATION()
0111 
0112     namespace result_of
0113     {
0114         template <BOOST_PP_ENUM_PARAMS(N, typename T)>
0115         #define TEXT(z, n, text) , text
0116         struct make_set< BOOST_PP_ENUM_PARAMS(N, T) BOOST_PP_REPEAT_FROM_TO(BOOST_PP_DEC(N), FUSION_MAX_SET_SIZE, TEXT, void_) >
0117         #undef TEXT
0118         {
0119             typedef set<BOOST_PP_ENUM(N, BOOST_FUSION_AS_FUSION_ELEMENT, _)> type;
0120         };
0121     }
0122 
0123     template <BOOST_PP_ENUM_PARAMS(N, typename T)>
0124     BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0125     inline set<BOOST_PP_ENUM(N, BOOST_FUSION_AS_FUSION_ELEMENT, _)>
0126     make_set(BOOST_PP_ENUM_BINARY_PARAMS(N, T, const& arg))
0127     {
0128         return set<BOOST_PP_ENUM(N, BOOST_FUSION_AS_FUSION_ELEMENT, _)>(
0129             BOOST_PP_ENUM_PARAMS(N, arg));
0130     }
0131 
0132 #undef N
0133 #endif // defined(BOOST_PP_IS_ITERATING)
0134