Chris@16
|
1
|
Chris@16
|
2 #if !defined(BOOST_PHOENIX_DONT_USE_PREPROCESSED_FILES)
|
Chris@16
|
3 #ifndef BOOST_PHOENIX_FUNCTION_DETAIL_FUNCTION_RESULT_OF_HPP
|
Chris@16
|
4 #define BOOST_PHOENIX_FUNCTION_DETAIL_FUNCTION_RESULT_OF_HPP
|
Chris@16
|
5
|
Chris@16
|
6 #include <boost/phoenix/function/detail/preprocessed/function_result_of.hpp>
|
Chris@16
|
7
|
Chris@16
|
8 #endif
|
Chris@16
|
9 #else
|
Chris@16
|
10
|
Chris@16
|
11 #if !BOOST_PHOENIX_IS_ITERATING
|
Chris@16
|
12
|
Chris@16
|
13 #ifndef BOOST_PHOENIX_FUNCTION_DETAIL_FUNCTION_RESULT_OF_HPP
|
Chris@16
|
14 #define BOOST_PHOENIX_FUNCTION_DETAIL_FUNCTION_RESULT_OF_HPP
|
Chris@16
|
15
|
Chris@16
|
16 #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES)
|
Chris@16
|
17 #pragma wave option(preserve: 2, line: 0, output: "preprocessed/function_result_of_" BOOST_PHOENIX_LIMIT_STR ".hpp")
|
Chris@16
|
18 #endif
|
Chris@16
|
19
|
Chris@16
|
20 /*==============================================================================
|
Chris@16
|
21 Copyright (c) 2005-2010 Joel de Guzman
|
Chris@16
|
22 Copyright (c) 2010 Thomas Heller
|
Chris@16
|
23
|
Chris@16
|
24 Distributed under the Boost Software License, Version 1.0. (See accompanying
|
Chris@16
|
25 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
26 ==============================================================================*/
|
Chris@16
|
27
|
Chris@16
|
28 #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES)
|
Chris@16
|
29 #pragma wave option(preserve: 1)
|
Chris@16
|
30 #endif
|
Chris@16
|
31
|
Chris@16
|
32 #define BOOST_PHOENIX_ITERATION_PARAMS \
|
Chris@16
|
33 (3, (1, BOOST_PHOENIX_ACTOR_LIMIT, \
|
Chris@16
|
34 <boost/phoenix/function/detail/function_result_of.hpp>))
|
Chris@16
|
35 #include PHOENIX_ITERATE()
|
Chris@16
|
36
|
Chris@16
|
37 #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES)
|
Chris@16
|
38 #pragma wave option(output: null)
|
Chris@16
|
39 #endif
|
Chris@16
|
40
|
Chris@16
|
41 #endif
|
Chris@16
|
42
|
Chris@16
|
43 #else
|
Chris@16
|
44
|
Chris@16
|
45 template <typename F, BOOST_PHOENIX_typename_A>
|
Chris@16
|
46 struct function<F, BOOST_PHOENIX_A>
|
Chris@16
|
47 : proto::result_of::make_expr<
|
Chris@16
|
48 proto::tag::function
|
Chris@16
|
49 , phoenix_domain
|
Chris@16
|
50 , F
|
Chris@16
|
51 , BOOST_PHOENIX_A
|
Chris@16
|
52 >
|
Chris@16
|
53 {};
|
Chris@16
|
54
|
Chris@16
|
55 #endif
|
Chris@16
|
56
|
Chris@16
|
57 #endif // PHOENIX_DONT_USE_PREPROCESSED_FILES
|