]>
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_NIL_HPP_ | |
9 | #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_NIL_HPP_ | |
10 | ||
11 | #include <boost/preprocessor/facilities/empty.hpp> | |
12 | ||
13 | #define BOOST_LOCAL_FUNCTION_AUX_PP_DECL_TRAITS_NIL \ | |
14 | ( \ | |
15 | /* returns: list of `return result_type` */ \ | |
16 | BOOST_PP_NIL /* nil list */ \ | |
17 | , \ | |
18 | /* params: list of 2-tuples (param_decl, param_default) */ \ | |
19 | BOOST_PP_NIL /* nil list */ \ | |
20 | , \ | |
21 | /* const-binds: list of 2-tuple `(var_untyped, var_typed)` */ \ | |
22 | BOOST_PP_NIL /* nil list */ \ | |
23 | , \ | |
24 | /* const-bind this: list of 1-tuple `(type)` */ \ | |
25 | BOOST_PP_NIL \ | |
26 | /* number of const-bind `this` */ \ | |
27 | , \ | |
28 | /* binds: list of 2-tuple `(var_untyped, var_typed)` */ \ | |
29 | BOOST_PP_NIL /* nil list */ \ | |
30 | , \ | |
31 | /* bind this: list of 1-type `(type)` */ \ | |
32 | BOOST_PP_NIL \ | |
33 | , \ | |
34 | /* error: `[ERROR_message_text] EMPTY` */ \ | |
35 | BOOST_PP_EMPTY /* no error */ \ | |
36 | ) | |
37 | ||
38 | #endif // #include guard | |
39 |