]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | |
2 | // Copyright (C) 2009-2012 Lorenzo Caminiti | |
3 | // Distributed under the Boost Software License, Version 1.0 | |
4 | // (see accompanying file LICENSE_1_0.txt or a copy at | |
5 | // http://www.boost.org/LICENSE_1_0.txt) | |
6 | // Home at http://www.boost.org/libs/local_function | |
7 | ||
8 | #ifndef BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_ERROR_HPP_ | |
9 | #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_ERROR_HPP_ | |
10 | ||
11 | #include <boost/local_function/aux_/preprocessor/traits/decl_/index.hpp> | |
12 | #include <boost/preprocessor/tuple/elem.hpp> | |
13 | ||
14 | // PUBLIC // | |
15 | ||
16 | // Expand: `[ERROR_message_text] EMPTY`, EMPTY iff no pp-parsing error. | |
17 | #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_ERROR(decl_traits) \ | |
18 | BOOST_PP_TUPLE_ELEM(BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_INDEX_MAX, \ | |
19 | BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_INDEX_ERROR, decl_traits) | |
20 | ||
21 | // Expand: `[ERROR_message_text]`, EMPTY iff no pp-parsing error. | |
22 | #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_ERROR_MSG(decl_traits) \ | |
23 | BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_ERROR(decl_traits) \ | |
24 | (/* expand EMPTY */) | |
25 | ||
26 | #endif // #include guard | |
27 |