2 #if !defined(BOOST_PHOENIX_DONT_USE_PREPROCESSED_FILES)
3 #ifndef BOOST_PHOENIX_OBJECT_DETAIL_CONSTRUCT_EVAL_HPP
4 #define BOOST_PHOENIX_OBJECT_DETAIL_CONSTRUCT_EVAL_HPP
6 #include <boost/phoenix/object/detail/cpp03/preprocessed/construct_eval.hpp>
11 #if !BOOST_PHOENIX_IS_ITERATING
13 #ifndef BOOST_PHOENIX_OBJECT_DETAIL_CONSTRUCT_EVAL_HPP
14 #define BOOST_PHOENIX_OBJECT_DETAIL_CONSTRUCT_EVAL_HPP
16 #include <boost/preprocessor/repetition/enum_shifted_binary_params.hpp>
18 #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES)
19 #pragma wave option(preserve: 2, line: 0, output: "preprocessed/construct_eval_" BOOST_PHOENIX_LIMIT_STR ".hpp")
22 /*==============================================================================
23 Copyright (c) 2005-2010 Joel de Guzman
24 Copyright (c) 2010 Thomas Heller
26 Distributed under the Boost Software License, Version 1.0. (See accompanying
27 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
28 ==============================================================================*/
30 #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES)
31 #pragma wave option(preserve: 1)
34 #define BOOST_PHOENIX_ITERATION_PARAMS \
35 (3, (2, BOOST_PHOENIX_COMPOSITE_LIMIT, \
36 <boost/phoenix/object/detail/cpp03/construct_eval.hpp>))
37 #include BOOST_PHOENIX_ITERATE()
39 #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES)
40 #pragma wave option(output: null)
47 template <typename This, BOOST_PHOENIX_typename_A, typename Context>
48 struct result<This(BOOST_PHOENIX_A, Context)>
49 : detail::result_of::target<A0>
53 template <BOOST_PHOENIX_typename_A, typename Context>
54 typename detail::result_of::target<A0>::type
57 , BOOST_PP_ENUM_SHIFTED_BINARY_PARAMS(
58 BOOST_PHOENIX_ITERATION
65 #define EVAL_a(_,n,__) \
66 BOOST_PP_COMMA_IF(BOOST_PP_DEC(n)) boost::phoenix::eval(a ## n, ctx)
69 typename detail::result_of::target<A0>::type(
70 BOOST_PP_REPEAT_FROM_TO(
72 , BOOST_PHOENIX_ITERATION
81 #endif // BOOST_PHOENIX_DONT_USE_PREPROCESSED_FILES