]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | |
2 | #if !defined(BOOST_PHOENIX_DONT_USE_PREPROCESSED_FILES) | |
3 | #ifndef BOOST_PHOENIX_STATEMENT_DETAIL_TRY_CATCH_EXPRESSION_HPP | |
4 | #define BOOST_PHOENIX_STATEMENT_DETAIL_TRY_CATCH_EXPRESSION_HPP | |
5 | ||
6 | #include <boost/phoenix/support/iterate.hpp> | |
7 | ||
8 | #include <boost/phoenix/statement/detail/preprocessed/try_catch_expression.hpp> | |
9 | ||
10 | #endif | |
11 | #else | |
12 | ||
13 | #if !BOOST_PHOENIX_IS_ITERATING | |
14 | ||
15 | #ifndef BOOST_PHOENIX_STATEMENT_DETAIL_TRY_CATCH_EXPRESSION_HPP | |
16 | #define BOOST_PHOENIX_STATEMENT_DETAIL_TRY_CATCH_EXPRESSION_HPP | |
17 | ||
18 | #include <boost/phoenix/support/iterate.hpp> | |
19 | ||
20 | #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES) | |
21 | #pragma wave option(preserve: 2, line: 0, output: "preprocessed/try_catch_expression_" BOOST_PHOENIX_LIMIT_STR ".hpp") | |
22 | #endif | |
23 | ||
24 | /*============================================================================== | |
25 | Copyright (c) 2005-2010 Joel de Guzman | |
26 | Copyright (c) 2010 Thomas Heller | |
27 | ||
28 | Distributed under the Boost Software License, Version 1.0. (See accompanying | |
29 | file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
30 | ==============================================================================*/ | |
31 | ||
32 | #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES) | |
33 | #pragma wave option(preserve: 1) | |
34 | #endif | |
35 | ||
36 | #define BOOST_PHOENIX_ITERATION_PARAMS \ | |
37 | (3, (0, BOOST_PHOENIX_CATCH_LIMIT, \ | |
38 | <boost/phoenix/statement/detail/try_catch_expression.hpp>)) | |
39 | #include BOOST_PHOENIX_ITERATE() | |
40 | ||
41 | #if defined(__WAVE__) && defined(BOOST_PHOENIX_CREATE_PREPROCESSED_FILES) | |
42 | #pragma wave option(output: null) | |
43 | #endif | |
44 | ||
45 | #endif | |
46 | ||
47 | #else | |
48 | ||
49 | template < | |
50 | typename Try | |
51 | BOOST_PP_COMMA_IF(BOOST_PHOENIX_ITERATION) | |
52 | BOOST_PHOENIX_typename_A | |
53 | > | |
54 | struct try_catch< | |
55 | Try | |
56 | BOOST_PP_COMMA_IF(BOOST_PHOENIX_ITERATION) | |
57 | BOOST_PHOENIX_A | |
58 | > | |
59 | : expr_ext< | |
60 | try_catch_actor | |
61 | , tag::try_catch | |
62 | , Try | |
63 | BOOST_PP_COMMA_IF(BOOST_PHOENIX_ITERATION) BOOST_PHOENIX_A | |
64 | > | |
65 | {}; | |
66 | /**/ | |
67 | ||
68 | #endif | |
69 | ||
70 | #endif // BOOST_PHOENIX_DONT_USE_PREPROCESSED_FILES |