File indexing completed on 2025-01-18 09:45:42
0001
0002 #if !defined(BOOST_PHOENIX_DONT_USE_PREPROCESSED_FILES)
0003 #ifndef BOOST_PHOENIX_OBJECT_DETAIL_CONSTRUCT_EVAL_HPP
0004 #define BOOST_PHOENIX_OBJECT_DETAIL_CONSTRUCT_EVAL_HPP
0005
0006 #include <boost/phoenix/object/detail/cpp03/preprocessed/construct_eval.hpp>
0007
0008 #endif
0009 #else
0010
0011 #if !BOOST_PHOENIX_IS_ITERATING
0012
0013 #ifndef BOOST_PHOENIX_OBJECT_DETAIL_CONSTRUCT_EVAL_HPP
0014 #define BOOST_PHOENIX_OBJECT_DETAIL_CONSTRUCT_EVAL_HPP
0015
0016 #include <boost/preprocessor/repetition/enum_shifted_binary_params.hpp>
0017
0018 #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES)
0019 #pragma wave option(preserve: 2, line: 0, output: "preprocessed/construct_eval_" BOOST_PHOENIX_LIMIT_STR ".hpp")
0020 #endif
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030 #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES)
0031 #pragma wave option(preserve: 1)
0032 #endif
0033
0034 #define BOOST_PHOENIX_ITERATION_PARAMS \
0035 (3, (2, BOOST_PHOENIX_COMPOSITE_LIMIT, \
0036 <boost/phoenix/object/detail/cpp03/construct_eval.hpp>))
0037 #include BOOST_PHOENIX_ITERATE()
0038
0039 #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES)
0040 #pragma wave option(output: null)
0041 #endif
0042
0043 #endif
0044
0045 #else
0046
0047 template <typename This, BOOST_PHOENIX_typename_A, typename Context>
0048 struct result<This(BOOST_PHOENIX_A, Context)>
0049 : detail::result_of::target<A0>
0050 {
0051 };
0052
0053 template <BOOST_PHOENIX_typename_A, typename Context>
0054 typename detail::result_of::target<A0>::type
0055 operator()(
0056 A0 const&
0057 , BOOST_PP_ENUM_SHIFTED_BINARY_PARAMS(
0058 BOOST_PHOENIX_ITERATION
0059 , A
0060 , const& a
0061 )
0062 , Context const & ctx
0063 ) const
0064 {
0065 #define EVAL_a(_,n,__) \
0066 BOOST_PP_COMMA_IF(BOOST_PP_DEC(n)) boost::phoenix::eval(a ## n, ctx)
0067
0068 return
0069 typename detail::result_of::target<A0>::type(
0070 BOOST_PP_REPEAT_FROM_TO(
0071 1
0072 , BOOST_PHOENIX_ITERATION
0073 , EVAL_a, _
0074 )
0075 );
0076 #undef EVAL_a
0077 }
0078
0079 #endif
0080
0081 #endif