Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 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 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 14 | #if !defined(NDNBOOST_FT_PREPROCESSING_MODE) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 15 | # error "this file is only for two-pass preprocessing" |
| 16 | #endif |
| 17 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 18 | #if !defined(NDNBOOST_PP_VALUE) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 19 | # include <ndnboost/preprocessor/slot/slot.hpp> |
| 20 | # include <ndnboost/preprocessor/facilities/empty.hpp> |
| 21 | # include <ndnboost/preprocessor/facilities/expand.hpp> |
| 22 | # include <ndnboost/function_types/detail/encoding/def.hpp> |
| 23 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 24 | NDNBOOST_PP_EXPAND(#) define NDNBOOST_FT_mfp 0 |
| 25 | NDNBOOST_PP_EXPAND(#) define NDNBOOST_FT_syntax NDNBOOST_FT_type_function |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 26 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 27 | # define NDNBOOST_PP_VALUE \ |
| 28 | NDNBOOST_FT_function|NDNBOOST_FT_non_variadic |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 29 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 30 | # define NDNBOOST_PP_VALUE \ |
| 31 | NDNBOOST_FT_function|NDNBOOST_FT_variadic |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 32 | # include __FILE__ |
| 33 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 34 | NDNBOOST_PP_EXPAND(#) if !NDNBOOST_FT_NO_CV_FUNC_SUPPORT |
| 35 | # define NDNBOOST_PP_VALUE \ |
| 36 | NDNBOOST_FT_function|NDNBOOST_FT_non_variadic|NDNBOOST_FT_const |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 37 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 38 | # define NDNBOOST_PP_VALUE \ |
| 39 | NDNBOOST_FT_function|NDNBOOST_FT_variadic|NDNBOOST_FT_const |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 40 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 41 | # define NDNBOOST_PP_VALUE \ |
| 42 | NDNBOOST_FT_function|NDNBOOST_FT_non_variadic|NDNBOOST_FT_volatile |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 43 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 44 | # define NDNBOOST_PP_VALUE \ |
| 45 | NDNBOOST_FT_function|NDNBOOST_FT_variadic|NDNBOOST_FT_volatile |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 46 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 47 | # define NDNBOOST_PP_VALUE \ |
| 48 | NDNBOOST_FT_function|NDNBOOST_FT_non_variadic|NDNBOOST_FT_const|NDNBOOST_FT_volatile |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 49 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 50 | # define NDNBOOST_PP_VALUE \ |
| 51 | NDNBOOST_FT_function|NDNBOOST_FT_variadic|NDNBOOST_FT_const|NDNBOOST_FT_volatile |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 52 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 53 | NDNBOOST_PP_EXPAND(#) endif |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 54 | |
| 55 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 56 | NDNBOOST_PP_EXPAND(#) undef NDNBOOST_FT_syntax |
| 57 | NDNBOOST_PP_EXPAND(#) define NDNBOOST_FT_syntax NDNBOOST_FT_type_function_pointer |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 58 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 59 | # define NDNBOOST_PP_VALUE \ |
| 60 | NDNBOOST_FT_pointer|NDNBOOST_FT_non_variadic |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 61 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 62 | # define NDNBOOST_PP_VALUE \ |
| 63 | NDNBOOST_FT_pointer|NDNBOOST_FT_variadic |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 64 | # include __FILE__ |
| 65 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 66 | NDNBOOST_PP_EXPAND(#) undef NDNBOOST_FT_syntax |
| 67 | NDNBOOST_PP_EXPAND(#) define NDNBOOST_FT_syntax NDNBOOST_FT_type_function_reference |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 68 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 69 | # define NDNBOOST_PP_VALUE \ |
| 70 | NDNBOOST_FT_reference|NDNBOOST_FT_non_variadic |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 71 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 72 | # define NDNBOOST_PP_VALUE \ |
| 73 | NDNBOOST_FT_reference|NDNBOOST_FT_variadic |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 74 | # include __FILE__ |
| 75 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 76 | NDNBOOST_PP_EXPAND(#) undef NDNBOOST_FT_syntax |
| 77 | NDNBOOST_PP_EXPAND(#) undef NDNBOOST_FT_mfp |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 78 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 79 | NDNBOOST_PP_EXPAND(#) define NDNBOOST_FT_mfp 1 |
| 80 | NDNBOOST_PP_EXPAND(#) define NDNBOOST_FT_syntax NDNBOOST_FT_type_member_function_pointer |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 81 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 82 | # define NDNBOOST_PP_VALUE \ |
| 83 | NDNBOOST_FT_member_function_pointer|NDNBOOST_FT_non_variadic |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 84 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 85 | # define NDNBOOST_PP_VALUE \ |
| 86 | NDNBOOST_FT_member_function_pointer|NDNBOOST_FT_variadic |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 87 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 88 | # define NDNBOOST_PP_VALUE \ |
| 89 | NDNBOOST_FT_member_function_pointer|NDNBOOST_FT_non_variadic|NDNBOOST_FT_const |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 90 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 91 | # define NDNBOOST_PP_VALUE \ |
| 92 | NDNBOOST_FT_member_function_pointer|NDNBOOST_FT_variadic|NDNBOOST_FT_const |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 93 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 94 | # define NDNBOOST_PP_VALUE \ |
| 95 | NDNBOOST_FT_member_function_pointer|NDNBOOST_FT_non_variadic|NDNBOOST_FT_volatile |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 96 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 97 | # define NDNBOOST_PP_VALUE \ |
| 98 | NDNBOOST_FT_member_function_pointer|NDNBOOST_FT_variadic|NDNBOOST_FT_volatile |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 99 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 100 | # define NDNBOOST_PP_VALUE \ |
| 101 | NDNBOOST_FT_member_function_pointer|NDNBOOST_FT_non_variadic|NDNBOOST_FT_const|NDNBOOST_FT_volatile |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 102 | # include __FILE__ |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 103 | # define NDNBOOST_PP_VALUE \ |
| 104 | NDNBOOST_FT_member_function_pointer|NDNBOOST_FT_variadic|NDNBOOST_FT_const|NDNBOOST_FT_volatile |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 105 | # include __FILE__ |
| 106 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 107 | NDNBOOST_PP_EXPAND(#) undef NDNBOOST_FT_syntax |
| 108 | NDNBOOST_PP_EXPAND(#) undef NDNBOOST_FT_mfp |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 109 | |
| 110 | # include <ndnboost/function_types/detail/encoding/undef.hpp> |
| 111 | #else |
| 112 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 113 | # include NDNBOOST_PP_ASSIGN_SLOT(1) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 114 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 115 | # define NDNBOOST_PP_VALUE NDNBOOST_PP_SLOT(1) & NDNBOOST_FT_kind_mask |
| 116 | # include NDNBOOST_PP_ASSIGN_SLOT(2) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 117 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 118 | NDNBOOST_PP_EXPAND(#) if !!(NDNBOOST_PP_SLOT(2) & (NDNBOOST_FT_variations)) |
| 119 | NDNBOOST_PP_EXPAND(#) if (NDNBOOST_PP_SLOT(1) & (NDNBOOST_FT_cond)) == (NDNBOOST_FT_cond) |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 120 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 121 | # if ( NDNBOOST_PP_SLOT(1) & (NDNBOOST_FT_variadic) ) |
| 122 | NDNBOOST_PP_EXPAND(#) define NDNBOOST_FT_ell ... |
| 123 | NDNBOOST_PP_EXPAND(#) define NDNBOOST_FT_nullary_param |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 124 | # else |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 125 | NDNBOOST_PP_EXPAND(#) define NDNBOOST_FT_ell |
| 126 | NDNBOOST_PP_EXPAND(#) define NDNBOOST_FT_nullary_param NDNBOOST_FT_NULLARY_PARAM |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 127 | # endif |
| 128 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 129 | # if !( NDNBOOST_PP_SLOT(1) & (NDNBOOST_FT_volatile) ) |
| 130 | # if !( NDNBOOST_PP_SLOT(1) & (NDNBOOST_FT_const) ) |
| 131 | NDNBOOST_PP_EXPAND(#) define NDNBOOST_FT_cv |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 132 | # else |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 133 | NDNBOOST_PP_EXPAND(#) define NDNBOOST_FT_cv const |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 134 | # endif |
| 135 | # else |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 136 | # if !( NDNBOOST_PP_SLOT(1) & (NDNBOOST_FT_const) ) |
| 137 | NDNBOOST_PP_EXPAND(#) define NDNBOOST_FT_cv volatile |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 138 | # else |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 139 | NDNBOOST_PP_EXPAND(#) define NDNBOOST_FT_cv const volatile |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 140 | # endif |
| 141 | # endif |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 142 | NDNBOOST_PP_EXPAND(#) define NDNBOOST_FT_flags NDNBOOST_PP_SLOT(1) |
| 143 | NDNBOOST_PP_EXPAND(#) include NDNBOOST_FT_variate_file |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 144 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame^] | 145 | NDNBOOST_PP_EXPAND(#) undef NDNBOOST_FT_cv |
| 146 | NDNBOOST_PP_EXPAND(#) undef NDNBOOST_FT_ell |
| 147 | NDNBOOST_PP_EXPAND(#) undef NDNBOOST_FT_nullary_param |
| 148 | NDNBOOST_PP_EXPAND(#) undef NDNBOOST_FT_flags |
| 149 | NDNBOOST_PP_EXPAND(#) endif |
| 150 | NDNBOOST_PP_EXPAND(#) endif |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 151 | #endif |
| 152 | |