]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | |
2 | // (C) Copyright Tobias Schwinger | |
3 | // | |
4 | // Use modification and distribution are subject to the boost Software License, | |
5 | // Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt). | |
6 | ||
7 | //------------------------------------------------------------------------------ | |
8 | ||
9 | #ifdef __WAVE__ | |
10 | // this file has been generated from the master.hpp file in the same directory | |
11 | # pragma wave option(preserve: 0) | |
12 | #endif | |
13 | ||
14 | #if !defined(BOOST_FT_PREPROCESSING_MODE) | |
15 | # error "this file is only for two-pass preprocessing" | |
16 | #endif | |
17 | ||
18 | #if !defined(BOOST_PP_VALUE) | |
19 | # include <boost/preprocessor/slot/slot.hpp> | |
20 | # include <boost/preprocessor/facilities/empty.hpp> | |
21 | # include <boost/preprocessor/facilities/expand.hpp> | |
22 | # include <boost/function_types/detail/encoding/def.hpp> | |
23 | ||
24 | BOOST_PP_EXPAND(#) define BOOST_FT_mfp 0 | |
25 | BOOST_PP_EXPAND(#) define BOOST_FT_syntax BOOST_FT_type_function | |
26 | ||
27 | # define BOOST_PP_VALUE \ | |
28 | BOOST_FT_function|BOOST_FT_non_variadic | |
29 | # include __FILE__ | |
30 | # define BOOST_PP_VALUE \ | |
31 | BOOST_FT_function|BOOST_FT_variadic | |
32 | # include __FILE__ | |
33 | ||
34 | BOOST_PP_EXPAND(#) if !BOOST_FT_NO_CV_FUNC_SUPPORT | |
35 | # define BOOST_PP_VALUE \ | |
36 | BOOST_FT_function|BOOST_FT_non_variadic|BOOST_FT_const | |
37 | # include __FILE__ | |
38 | # define BOOST_PP_VALUE \ | |
39 | BOOST_FT_function|BOOST_FT_variadic|BOOST_FT_const | |
40 | # include __FILE__ | |
41 | # define BOOST_PP_VALUE \ | |
42 | BOOST_FT_function|BOOST_FT_non_variadic|BOOST_FT_volatile | |
43 | # include __FILE__ | |
44 | # define BOOST_PP_VALUE \ | |
45 | BOOST_FT_function|BOOST_FT_variadic|BOOST_FT_volatile | |
46 | # include __FILE__ | |
47 | # define BOOST_PP_VALUE \ | |
48 | BOOST_FT_function|BOOST_FT_non_variadic|BOOST_FT_const|BOOST_FT_volatile | |
49 | # include __FILE__ | |
50 | # define BOOST_PP_VALUE \ | |
51 | BOOST_FT_function|BOOST_FT_variadic|BOOST_FT_const|BOOST_FT_volatile | |
52 | # include __FILE__ | |
53 | BOOST_PP_EXPAND(#) endif | |
54 | ||
55 | ||
56 | BOOST_PP_EXPAND(#) undef BOOST_FT_syntax | |
57 | BOOST_PP_EXPAND(#) define BOOST_FT_syntax BOOST_FT_type_function_pointer | |
58 | ||
59 | # define BOOST_PP_VALUE \ | |
60 | BOOST_FT_pointer|BOOST_FT_non_variadic | |
61 | # include __FILE__ | |
62 | # define BOOST_PP_VALUE \ | |
63 | BOOST_FT_pointer|BOOST_FT_variadic | |
64 | # include __FILE__ | |
65 | ||
66 | BOOST_PP_EXPAND(#) undef BOOST_FT_syntax | |
67 | BOOST_PP_EXPAND(#) define BOOST_FT_syntax BOOST_FT_type_function_reference | |
68 | ||
69 | # define BOOST_PP_VALUE \ | |
70 | BOOST_FT_reference|BOOST_FT_non_variadic | |
71 | # include __FILE__ | |
72 | # define BOOST_PP_VALUE \ | |
73 | BOOST_FT_reference|BOOST_FT_variadic | |
74 | # include __FILE__ | |
75 | ||
76 | BOOST_PP_EXPAND(#) undef BOOST_FT_syntax | |
77 | BOOST_PP_EXPAND(#) undef BOOST_FT_mfp | |
78 | ||
79 | BOOST_PP_EXPAND(#) define BOOST_FT_mfp 1 | |
80 | BOOST_PP_EXPAND(#) define BOOST_FT_syntax BOOST_FT_type_member_function_pointer | |
81 | ||
82 | # define BOOST_PP_VALUE \ | |
83 | BOOST_FT_member_function_pointer|BOOST_FT_non_variadic | |
84 | # include __FILE__ | |
85 | # define BOOST_PP_VALUE \ | |
86 | BOOST_FT_member_function_pointer|BOOST_FT_variadic | |
87 | # include __FILE__ | |
88 | # define BOOST_PP_VALUE \ | |
89 | BOOST_FT_member_function_pointer|BOOST_FT_non_variadic|BOOST_FT_const | |
90 | # include __FILE__ | |
91 | # define BOOST_PP_VALUE \ | |
92 | BOOST_FT_member_function_pointer|BOOST_FT_variadic|BOOST_FT_const | |
93 | # include __FILE__ | |
94 | # define BOOST_PP_VALUE \ | |
95 | BOOST_FT_member_function_pointer|BOOST_FT_non_variadic|BOOST_FT_volatile | |
96 | # include __FILE__ | |
97 | # define BOOST_PP_VALUE \ | |
98 | BOOST_FT_member_function_pointer|BOOST_FT_variadic|BOOST_FT_volatile | |
99 | # include __FILE__ | |
100 | # define BOOST_PP_VALUE \ | |
101 | BOOST_FT_member_function_pointer|BOOST_FT_non_variadic|BOOST_FT_const|BOOST_FT_volatile | |
102 | # include __FILE__ | |
103 | # define BOOST_PP_VALUE \ | |
104 | BOOST_FT_member_function_pointer|BOOST_FT_variadic|BOOST_FT_const|BOOST_FT_volatile | |
105 | # include __FILE__ | |
106 | ||
107 | BOOST_PP_EXPAND(#) undef BOOST_FT_syntax | |
108 | BOOST_PP_EXPAND(#) undef BOOST_FT_mfp | |
109 | ||
110 | # include <boost/function_types/detail/encoding/undef.hpp> | |
111 | #else | |
112 | ||
113 | # include BOOST_PP_ASSIGN_SLOT(1) | |
114 | ||
115 | # define BOOST_PP_VALUE BOOST_PP_SLOT(1) & BOOST_FT_kind_mask | |
116 | # include BOOST_PP_ASSIGN_SLOT(2) | |
117 | ||
118 | BOOST_PP_EXPAND(#) if !!(BOOST_PP_SLOT(2) & (BOOST_FT_variations)) | |
119 | BOOST_PP_EXPAND(#) if (BOOST_PP_SLOT(1) & (BOOST_FT_cond)) == (BOOST_FT_cond) | |
120 | ||
121 | # if ( BOOST_PP_SLOT(1) & (BOOST_FT_variadic) ) | |
122 | BOOST_PP_EXPAND(#) define BOOST_FT_ell ... | |
123 | BOOST_PP_EXPAND(#) define BOOST_FT_nullary_param | |
124 | # else | |
125 | BOOST_PP_EXPAND(#) define BOOST_FT_ell | |
126 | BOOST_PP_EXPAND(#) define BOOST_FT_nullary_param BOOST_FT_NULLARY_PARAM | |
127 | # endif | |
128 | ||
129 | # if !( BOOST_PP_SLOT(1) & (BOOST_FT_volatile) ) | |
130 | # if !( BOOST_PP_SLOT(1) & (BOOST_FT_const) ) | |
131 | BOOST_PP_EXPAND(#) define BOOST_FT_cv | |
132 | # else | |
133 | BOOST_PP_EXPAND(#) define BOOST_FT_cv const | |
134 | # endif | |
135 | # else | |
136 | # if !( BOOST_PP_SLOT(1) & (BOOST_FT_const) ) | |
137 | BOOST_PP_EXPAND(#) define BOOST_FT_cv volatile | |
138 | # else | |
139 | BOOST_PP_EXPAND(#) define BOOST_FT_cv const volatile | |
140 | # endif | |
141 | # endif | |
142 | BOOST_PP_EXPAND(#) define BOOST_FT_flags BOOST_PP_SLOT(1) | |
143 | BOOST_PP_EXPAND(#) include BOOST_FT_variate_file | |
144 | ||
145 | BOOST_PP_EXPAND(#) undef BOOST_FT_cv | |
146 | BOOST_PP_EXPAND(#) undef BOOST_FT_ell | |
147 | BOOST_PP_EXPAND(#) undef BOOST_FT_nullary_param | |
148 | BOOST_PP_EXPAND(#) undef BOOST_FT_flags | |
149 | BOOST_PP_EXPAND(#) endif | |
150 | BOOST_PP_EXPAND(#) endif | |
151 | #endif | |
152 |