Chris@16
|
1
|
Chris@16
|
2 #if !defined(BOOST_PHOENIX_DONT_USE_PREPROCESSED_FILES)
|
Chris@16
|
3 #ifndef BOOST_PHOENIX_FUNCTION_DETAIL_FUNCTION_OPERATOR_HPP
|
Chris@16
|
4 #define BOOST_PHOENIX_FUNCTION_DETAIL_FUNCTION_OPERATOR_HPP
|
Chris@16
|
5
|
Chris@16
|
6 #include <boost/phoenix/function/detail/preprocessed/function_operator.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_OPERATOR_HPP
|
Chris@16
|
14 #define BOOST_PHOENIX_FUNCTION_DETAIL_FUNCTION_OPERATOR_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_operator_" 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_operator.hpp>))
|
Chris@16
|
35 #include BOOST_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 template <typename This, BOOST_PHOENIX_typename_A>
|
Chris@16
|
45 struct result<This(BOOST_PHOENIX_A_const_ref)>
|
Chris@16
|
46 : detail::expression::function_eval<F, BOOST_PHOENIX_A>
|
Chris@16
|
47 {};
|
Chris@16
|
48
|
Chris@16
|
49 template <BOOST_PHOENIX_typename_A>
|
Chris@16
|
50 typename detail::expression::function_eval<F, BOOST_PHOENIX_A>::type const
|
Chris@16
|
51 operator()(BOOST_PHOENIX_A_const_ref_a) const
|
Chris@16
|
52 {
|
Chris@16
|
53 return detail::expression::function_eval<F, BOOST_PHOENIX_A>::make(f, BOOST_PHOENIX_a);
|
Chris@16
|
54 }
|
Chris@16
|
55
|
Chris@16
|
56 #endif
|
Chris@16
|
57
|
Chris@16
|
58 #endif // PHOENIX_DONT_USE_PREPROCESSED_FILES
|