Added boost header
This commit is contained in:
34
test/external/boost/preprocessor/facilities/apply.hpp
vendored
Normal file
34
test/external/boost/preprocessor/facilities/apply.hpp
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
# /* **************************************************************************
|
||||
# * *
|
||||
# * (C) Copyright Paul Mensonides 2002.
|
||||
# * Distributed under the Boost Software License, Version 1.0. (See
|
||||
# * accompanying file LICENSE_1_0.txt or copy at
|
||||
# * http://www.boost.org/LICENSE_1_0.txt)
|
||||
# * *
|
||||
# ************************************************************************** */
|
||||
#
|
||||
# /* See http://www.boost.org for most recent version. */
|
||||
#
|
||||
# ifndef BOOST_PREPROCESSOR_FACILITIES_APPLY_HPP
|
||||
# define BOOST_PREPROCESSOR_FACILITIES_APPLY_HPP
|
||||
#
|
||||
# include <boost/preprocessor/config/config.hpp>
|
||||
# include <boost/preprocessor/control/expr_iif.hpp>
|
||||
# include <boost/preprocessor/detail/is_unary.hpp>
|
||||
# include <boost/preprocessor/tuple/rem.hpp>
|
||||
#
|
||||
# /* BOOST_PP_APPLY */
|
||||
#
|
||||
# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
|
||||
# define BOOST_PP_APPLY(x) BOOST_PP_APPLY_I(x)
|
||||
# define BOOST_PP_APPLY_I(x) BOOST_PP_EXPR_IIF(BOOST_PP_IS_UNARY(x), BOOST_PP_TUPLE_REM_1 x)
|
||||
# elif BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_BCC()
|
||||
# define BOOST_PP_APPLY(x) BOOST_PP_APPLY_I(x)
|
||||
# define BOOST_PP_APPLY_I(x) BOOST_PP_APPLY_ ## x
|
||||
# define BOOST_PP_APPLY_(x) x
|
||||
# define BOOST_PP_APPLY_BOOST_PP_NIL
|
||||
# else
|
||||
# define BOOST_PP_APPLY(x) BOOST_PP_EXPR_IIF(BOOST_PP_IS_UNARY(x), BOOST_PP_TUPLE_REM_1 x)
|
||||
# endif
|
||||
#
|
||||
# endif
|
||||
21
test/external/boost/preprocessor/facilities/empty.hpp
vendored
Normal file
21
test/external/boost/preprocessor/facilities/empty.hpp
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# /* Copyright (C) 2001
|
||||
# * Housemarque Oy
|
||||
# * http://www.housemarque.com
|
||||
# *
|
||||
# * Distributed under the Boost Software License, Version 1.0. (See
|
||||
# * accompanying file LICENSE_1_0.txt or copy at
|
||||
# * http://www.boost.org/LICENSE_1_0.txt)
|
||||
# */
|
||||
#
|
||||
# /* Revised by Paul Mensonides (2002) */
|
||||
#
|
||||
# /* See http://www.boost.org for most recent version. */
|
||||
#
|
||||
# ifndef BOOST_PREPROCESSOR_FACILITIES_EMPTY_HPP
|
||||
# define BOOST_PREPROCESSOR_FACILITIES_EMPTY_HPP
|
||||
#
|
||||
# /* BOOST_PP_EMPTY */
|
||||
#
|
||||
# define BOOST_PP_EMPTY()
|
||||
#
|
||||
# endif
|
||||
28
test/external/boost/preprocessor/facilities/expand.hpp
vendored
Normal file
28
test/external/boost/preprocessor/facilities/expand.hpp
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
# /* Copyright (C) 2001
|
||||
# * Housemarque Oy
|
||||
# * http://www.housemarque.com
|
||||
# *
|
||||
# * Distributed under the Boost Software License, Version 1.0. (See
|
||||
# * accompanying file LICENSE_1_0.txt or copy at
|
||||
# * http://www.boost.org/LICENSE_1_0.txt)
|
||||
# */
|
||||
#
|
||||
# /* Revised by Paul Mensonides (2002) */
|
||||
#
|
||||
# /* See http://www.boost.org for most recent version. */
|
||||
#
|
||||
# ifndef BOOST_PREPROCESSOR_FACILITIES_EXPAND_HPP
|
||||
# define BOOST_PREPROCESSOR_FACILITIES_EXPAND_HPP
|
||||
#
|
||||
# include <boost/preprocessor/config/config.hpp>
|
||||
#
|
||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC() && ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_DMC()
|
||||
# define BOOST_PP_EXPAND(x) BOOST_PP_EXPAND_I(x)
|
||||
# else
|
||||
# define BOOST_PP_EXPAND(x) BOOST_PP_EXPAND_OO((x))
|
||||
# define BOOST_PP_EXPAND_OO(par) BOOST_PP_EXPAND_I ## par
|
||||
# endif
|
||||
#
|
||||
# define BOOST_PP_EXPAND_I(x) x
|
||||
#
|
||||
# endif
|
||||
23
test/external/boost/preprocessor/facilities/identity.hpp
vendored
Normal file
23
test/external/boost/preprocessor/facilities/identity.hpp
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
# /* Copyright (C) 2001
|
||||
# * Housemarque Oy
|
||||
# * http://www.housemarque.com
|
||||
# *
|
||||
# * Distributed under the Boost Software License, Version 1.0. (See
|
||||
# * accompanying file LICENSE_1_0.txt or copy at
|
||||
# * http://www.boost.org/LICENSE_1_0.txt)
|
||||
# */
|
||||
#
|
||||
# /* Revised by Paul Mensonides (2002) */
|
||||
#
|
||||
# /* See http://www.boost.org for most recent version. */
|
||||
#
|
||||
# ifndef BOOST_PREPROCESSOR_FACILITIES_IDENTITY_HPP
|
||||
# define BOOST_PREPROCESSOR_FACILITIES_IDENTITY_HPP
|
||||
#
|
||||
# include <boost/preprocessor/facilities/empty.hpp>
|
||||
#
|
||||
# /* BOOST_PP_IDENTITY */
|
||||
#
|
||||
# define BOOST_PP_IDENTITY(item) item BOOST_PP_EMPTY
|
||||
#
|
||||
# endif
|
||||
277
test/external/boost/preprocessor/facilities/intercept.hpp
vendored
Normal file
277
test/external/boost/preprocessor/facilities/intercept.hpp
vendored
Normal file
@@ -0,0 +1,277 @@
|
||||
# /* **************************************************************************
|
||||
# * *
|
||||
# * (C) Copyright Paul Mensonides 2002.
|
||||
# * Distributed under the Boost Software License, Version 1.0. (See
|
||||
# * accompanying file LICENSE_1_0.txt or copy at
|
||||
# * http://www.boost.org/LICENSE_1_0.txt)
|
||||
# * *
|
||||
# ************************************************************************** */
|
||||
#
|
||||
# /* See http://www.boost.org for most recent version. */
|
||||
#
|
||||
# ifndef BOOST_PREPROCESSOR_FACILITIES_INTERCEPT_HPP
|
||||
# define BOOST_PREPROCESSOR_FACILITIES_INTERCEPT_HPP
|
||||
#
|
||||
# /* BOOST_PP_INTERCEPT */
|
||||
#
|
||||
# define BOOST_PP_INTERCEPT BOOST_PP_INTERCEPT_
|
||||
#
|
||||
# define BOOST_PP_INTERCEPT_0
|
||||
# define BOOST_PP_INTERCEPT_1
|
||||
# define BOOST_PP_INTERCEPT_2
|
||||
# define BOOST_PP_INTERCEPT_3
|
||||
# define BOOST_PP_INTERCEPT_4
|
||||
# define BOOST_PP_INTERCEPT_5
|
||||
# define BOOST_PP_INTERCEPT_6
|
||||
# define BOOST_PP_INTERCEPT_7
|
||||
# define BOOST_PP_INTERCEPT_8
|
||||
# define BOOST_PP_INTERCEPT_9
|
||||
# define BOOST_PP_INTERCEPT_10
|
||||
# define BOOST_PP_INTERCEPT_11
|
||||
# define BOOST_PP_INTERCEPT_12
|
||||
# define BOOST_PP_INTERCEPT_13
|
||||
# define BOOST_PP_INTERCEPT_14
|
||||
# define BOOST_PP_INTERCEPT_15
|
||||
# define BOOST_PP_INTERCEPT_16
|
||||
# define BOOST_PP_INTERCEPT_17
|
||||
# define BOOST_PP_INTERCEPT_18
|
||||
# define BOOST_PP_INTERCEPT_19
|
||||
# define BOOST_PP_INTERCEPT_20
|
||||
# define BOOST_PP_INTERCEPT_21
|
||||
# define BOOST_PP_INTERCEPT_22
|
||||
# define BOOST_PP_INTERCEPT_23
|
||||
# define BOOST_PP_INTERCEPT_24
|
||||
# define BOOST_PP_INTERCEPT_25
|
||||
# define BOOST_PP_INTERCEPT_26
|
||||
# define BOOST_PP_INTERCEPT_27
|
||||
# define BOOST_PP_INTERCEPT_28
|
||||
# define BOOST_PP_INTERCEPT_29
|
||||
# define BOOST_PP_INTERCEPT_30
|
||||
# define BOOST_PP_INTERCEPT_31
|
||||
# define BOOST_PP_INTERCEPT_32
|
||||
# define BOOST_PP_INTERCEPT_33
|
||||
# define BOOST_PP_INTERCEPT_34
|
||||
# define BOOST_PP_INTERCEPT_35
|
||||
# define BOOST_PP_INTERCEPT_36
|
||||
# define BOOST_PP_INTERCEPT_37
|
||||
# define BOOST_PP_INTERCEPT_38
|
||||
# define BOOST_PP_INTERCEPT_39
|
||||
# define BOOST_PP_INTERCEPT_40
|
||||
# define BOOST_PP_INTERCEPT_41
|
||||
# define BOOST_PP_INTERCEPT_42
|
||||
# define BOOST_PP_INTERCEPT_43
|
||||
# define BOOST_PP_INTERCEPT_44
|
||||
# define BOOST_PP_INTERCEPT_45
|
||||
# define BOOST_PP_INTERCEPT_46
|
||||
# define BOOST_PP_INTERCEPT_47
|
||||
# define BOOST_PP_INTERCEPT_48
|
||||
# define BOOST_PP_INTERCEPT_49
|
||||
# define BOOST_PP_INTERCEPT_50
|
||||
# define BOOST_PP_INTERCEPT_51
|
||||
# define BOOST_PP_INTERCEPT_52
|
||||
# define BOOST_PP_INTERCEPT_53
|
||||
# define BOOST_PP_INTERCEPT_54
|
||||
# define BOOST_PP_INTERCEPT_55
|
||||
# define BOOST_PP_INTERCEPT_56
|
||||
# define BOOST_PP_INTERCEPT_57
|
||||
# define BOOST_PP_INTERCEPT_58
|
||||
# define BOOST_PP_INTERCEPT_59
|
||||
# define BOOST_PP_INTERCEPT_60
|
||||
# define BOOST_PP_INTERCEPT_61
|
||||
# define BOOST_PP_INTERCEPT_62
|
||||
# define BOOST_PP_INTERCEPT_63
|
||||
# define BOOST_PP_INTERCEPT_64
|
||||
# define BOOST_PP_INTERCEPT_65
|
||||
# define BOOST_PP_INTERCEPT_66
|
||||
# define BOOST_PP_INTERCEPT_67
|
||||
# define BOOST_PP_INTERCEPT_68
|
||||
# define BOOST_PP_INTERCEPT_69
|
||||
# define BOOST_PP_INTERCEPT_70
|
||||
# define BOOST_PP_INTERCEPT_71
|
||||
# define BOOST_PP_INTERCEPT_72
|
||||
# define BOOST_PP_INTERCEPT_73
|
||||
# define BOOST_PP_INTERCEPT_74
|
||||
# define BOOST_PP_INTERCEPT_75
|
||||
# define BOOST_PP_INTERCEPT_76
|
||||
# define BOOST_PP_INTERCEPT_77
|
||||
# define BOOST_PP_INTERCEPT_78
|
||||
# define BOOST_PP_INTERCEPT_79
|
||||
# define BOOST_PP_INTERCEPT_80
|
||||
# define BOOST_PP_INTERCEPT_81
|
||||
# define BOOST_PP_INTERCEPT_82
|
||||
# define BOOST_PP_INTERCEPT_83
|
||||
# define BOOST_PP_INTERCEPT_84
|
||||
# define BOOST_PP_INTERCEPT_85
|
||||
# define BOOST_PP_INTERCEPT_86
|
||||
# define BOOST_PP_INTERCEPT_87
|
||||
# define BOOST_PP_INTERCEPT_88
|
||||
# define BOOST_PP_INTERCEPT_89
|
||||
# define BOOST_PP_INTERCEPT_90
|
||||
# define BOOST_PP_INTERCEPT_91
|
||||
# define BOOST_PP_INTERCEPT_92
|
||||
# define BOOST_PP_INTERCEPT_93
|
||||
# define BOOST_PP_INTERCEPT_94
|
||||
# define BOOST_PP_INTERCEPT_95
|
||||
# define BOOST_PP_INTERCEPT_96
|
||||
# define BOOST_PP_INTERCEPT_97
|
||||
# define BOOST_PP_INTERCEPT_98
|
||||
# define BOOST_PP_INTERCEPT_99
|
||||
# define BOOST_PP_INTERCEPT_100
|
||||
# define BOOST_PP_INTERCEPT_101
|
||||
# define BOOST_PP_INTERCEPT_102
|
||||
# define BOOST_PP_INTERCEPT_103
|
||||
# define BOOST_PP_INTERCEPT_104
|
||||
# define BOOST_PP_INTERCEPT_105
|
||||
# define BOOST_PP_INTERCEPT_106
|
||||
# define BOOST_PP_INTERCEPT_107
|
||||
# define BOOST_PP_INTERCEPT_108
|
||||
# define BOOST_PP_INTERCEPT_109
|
||||
# define BOOST_PP_INTERCEPT_110
|
||||
# define BOOST_PP_INTERCEPT_111
|
||||
# define BOOST_PP_INTERCEPT_112
|
||||
# define BOOST_PP_INTERCEPT_113
|
||||
# define BOOST_PP_INTERCEPT_114
|
||||
# define BOOST_PP_INTERCEPT_115
|
||||
# define BOOST_PP_INTERCEPT_116
|
||||
# define BOOST_PP_INTERCEPT_117
|
||||
# define BOOST_PP_INTERCEPT_118
|
||||
# define BOOST_PP_INTERCEPT_119
|
||||
# define BOOST_PP_INTERCEPT_120
|
||||
# define BOOST_PP_INTERCEPT_121
|
||||
# define BOOST_PP_INTERCEPT_122
|
||||
# define BOOST_PP_INTERCEPT_123
|
||||
# define BOOST_PP_INTERCEPT_124
|
||||
# define BOOST_PP_INTERCEPT_125
|
||||
# define BOOST_PP_INTERCEPT_126
|
||||
# define BOOST_PP_INTERCEPT_127
|
||||
# define BOOST_PP_INTERCEPT_128
|
||||
# define BOOST_PP_INTERCEPT_129
|
||||
# define BOOST_PP_INTERCEPT_130
|
||||
# define BOOST_PP_INTERCEPT_131
|
||||
# define BOOST_PP_INTERCEPT_132
|
||||
# define BOOST_PP_INTERCEPT_133
|
||||
# define BOOST_PP_INTERCEPT_134
|
||||
# define BOOST_PP_INTERCEPT_135
|
||||
# define BOOST_PP_INTERCEPT_136
|
||||
# define BOOST_PP_INTERCEPT_137
|
||||
# define BOOST_PP_INTERCEPT_138
|
||||
# define BOOST_PP_INTERCEPT_139
|
||||
# define BOOST_PP_INTERCEPT_140
|
||||
# define BOOST_PP_INTERCEPT_141
|
||||
# define BOOST_PP_INTERCEPT_142
|
||||
# define BOOST_PP_INTERCEPT_143
|
||||
# define BOOST_PP_INTERCEPT_144
|
||||
# define BOOST_PP_INTERCEPT_145
|
||||
# define BOOST_PP_INTERCEPT_146
|
||||
# define BOOST_PP_INTERCEPT_147
|
||||
# define BOOST_PP_INTERCEPT_148
|
||||
# define BOOST_PP_INTERCEPT_149
|
||||
# define BOOST_PP_INTERCEPT_150
|
||||
# define BOOST_PP_INTERCEPT_151
|
||||
# define BOOST_PP_INTERCEPT_152
|
||||
# define BOOST_PP_INTERCEPT_153
|
||||
# define BOOST_PP_INTERCEPT_154
|
||||
# define BOOST_PP_INTERCEPT_155
|
||||
# define BOOST_PP_INTERCEPT_156
|
||||
# define BOOST_PP_INTERCEPT_157
|
||||
# define BOOST_PP_INTERCEPT_158
|
||||
# define BOOST_PP_INTERCEPT_159
|
||||
# define BOOST_PP_INTERCEPT_160
|
||||
# define BOOST_PP_INTERCEPT_161
|
||||
# define BOOST_PP_INTERCEPT_162
|
||||
# define BOOST_PP_INTERCEPT_163
|
||||
# define BOOST_PP_INTERCEPT_164
|
||||
# define BOOST_PP_INTERCEPT_165
|
||||
# define BOOST_PP_INTERCEPT_166
|
||||
# define BOOST_PP_INTERCEPT_167
|
||||
# define BOOST_PP_INTERCEPT_168
|
||||
# define BOOST_PP_INTERCEPT_169
|
||||
# define BOOST_PP_INTERCEPT_170
|
||||
# define BOOST_PP_INTERCEPT_171
|
||||
# define BOOST_PP_INTERCEPT_172
|
||||
# define BOOST_PP_INTERCEPT_173
|
||||
# define BOOST_PP_INTERCEPT_174
|
||||
# define BOOST_PP_INTERCEPT_175
|
||||
# define BOOST_PP_INTERCEPT_176
|
||||
# define BOOST_PP_INTERCEPT_177
|
||||
# define BOOST_PP_INTERCEPT_178
|
||||
# define BOOST_PP_INTERCEPT_179
|
||||
# define BOOST_PP_INTERCEPT_180
|
||||
# define BOOST_PP_INTERCEPT_181
|
||||
# define BOOST_PP_INTERCEPT_182
|
||||
# define BOOST_PP_INTERCEPT_183
|
||||
# define BOOST_PP_INTERCEPT_184
|
||||
# define BOOST_PP_INTERCEPT_185
|
||||
# define BOOST_PP_INTERCEPT_186
|
||||
# define BOOST_PP_INTERCEPT_187
|
||||
# define BOOST_PP_INTERCEPT_188
|
||||
# define BOOST_PP_INTERCEPT_189
|
||||
# define BOOST_PP_INTERCEPT_190
|
||||
# define BOOST_PP_INTERCEPT_191
|
||||
# define BOOST_PP_INTERCEPT_192
|
||||
# define BOOST_PP_INTERCEPT_193
|
||||
# define BOOST_PP_INTERCEPT_194
|
||||
# define BOOST_PP_INTERCEPT_195
|
||||
# define BOOST_PP_INTERCEPT_196
|
||||
# define BOOST_PP_INTERCEPT_197
|
||||
# define BOOST_PP_INTERCEPT_198
|
||||
# define BOOST_PP_INTERCEPT_199
|
||||
# define BOOST_PP_INTERCEPT_200
|
||||
# define BOOST_PP_INTERCEPT_201
|
||||
# define BOOST_PP_INTERCEPT_202
|
||||
# define BOOST_PP_INTERCEPT_203
|
||||
# define BOOST_PP_INTERCEPT_204
|
||||
# define BOOST_PP_INTERCEPT_205
|
||||
# define BOOST_PP_INTERCEPT_206
|
||||
# define BOOST_PP_INTERCEPT_207
|
||||
# define BOOST_PP_INTERCEPT_208
|
||||
# define BOOST_PP_INTERCEPT_209
|
||||
# define BOOST_PP_INTERCEPT_210
|
||||
# define BOOST_PP_INTERCEPT_211
|
||||
# define BOOST_PP_INTERCEPT_212
|
||||
# define BOOST_PP_INTERCEPT_213
|
||||
# define BOOST_PP_INTERCEPT_214
|
||||
# define BOOST_PP_INTERCEPT_215
|
||||
# define BOOST_PP_INTERCEPT_216
|
||||
# define BOOST_PP_INTERCEPT_217
|
||||
# define BOOST_PP_INTERCEPT_218
|
||||
# define BOOST_PP_INTERCEPT_219
|
||||
# define BOOST_PP_INTERCEPT_220
|
||||
# define BOOST_PP_INTERCEPT_221
|
||||
# define BOOST_PP_INTERCEPT_222
|
||||
# define BOOST_PP_INTERCEPT_223
|
||||
# define BOOST_PP_INTERCEPT_224
|
||||
# define BOOST_PP_INTERCEPT_225
|
||||
# define BOOST_PP_INTERCEPT_226
|
||||
# define BOOST_PP_INTERCEPT_227
|
||||
# define BOOST_PP_INTERCEPT_228
|
||||
# define BOOST_PP_INTERCEPT_229
|
||||
# define BOOST_PP_INTERCEPT_230
|
||||
# define BOOST_PP_INTERCEPT_231
|
||||
# define BOOST_PP_INTERCEPT_232
|
||||
# define BOOST_PP_INTERCEPT_233
|
||||
# define BOOST_PP_INTERCEPT_234
|
||||
# define BOOST_PP_INTERCEPT_235
|
||||
# define BOOST_PP_INTERCEPT_236
|
||||
# define BOOST_PP_INTERCEPT_237
|
||||
# define BOOST_PP_INTERCEPT_238
|
||||
# define BOOST_PP_INTERCEPT_239
|
||||
# define BOOST_PP_INTERCEPT_240
|
||||
# define BOOST_PP_INTERCEPT_241
|
||||
# define BOOST_PP_INTERCEPT_242
|
||||
# define BOOST_PP_INTERCEPT_243
|
||||
# define BOOST_PP_INTERCEPT_244
|
||||
# define BOOST_PP_INTERCEPT_245
|
||||
# define BOOST_PP_INTERCEPT_246
|
||||
# define BOOST_PP_INTERCEPT_247
|
||||
# define BOOST_PP_INTERCEPT_248
|
||||
# define BOOST_PP_INTERCEPT_249
|
||||
# define BOOST_PP_INTERCEPT_250
|
||||
# define BOOST_PP_INTERCEPT_251
|
||||
# define BOOST_PP_INTERCEPT_252
|
||||
# define BOOST_PP_INTERCEPT_253
|
||||
# define BOOST_PP_INTERCEPT_254
|
||||
# define BOOST_PP_INTERCEPT_255
|
||||
# define BOOST_PP_INTERCEPT_256
|
||||
#
|
||||
# endif
|
||||
23
test/external/boost/preprocessor/facilities/is_1.hpp
vendored
Normal file
23
test/external/boost/preprocessor/facilities/is_1.hpp
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
# /* **************************************************************************
|
||||
# * *
|
||||
# * (C) Copyright Paul Mensonides 2003.
|
||||
# * Distributed under the Boost Software License, Version 1.0. (See
|
||||
# * accompanying file LICENSE_1_0.txt or copy at
|
||||
# * http://www.boost.org/LICENSE_1_0.txt)
|
||||
# * *
|
||||
# ************************************************************************** */
|
||||
#
|
||||
# /* See http://www.boost.org for most recent version. */
|
||||
#
|
||||
# ifndef BOOST_PREPROCESSOR_FACILITIES_IS_1_HPP
|
||||
# define BOOST_PREPROCESSOR_FACILITIES_IS_1_HPP
|
||||
#
|
||||
# include <boost/preprocessor/cat.hpp>
|
||||
# include <boost/preprocessor/facilities/is_empty.hpp>
|
||||
#
|
||||
# /* BOOST_PP_IS_1 */
|
||||
#
|
||||
# define BOOST_PP_IS_1(x) BOOST_PP_IS_EMPTY(BOOST_PP_CAT(BOOST_PP_IS_1_HELPER_, x))
|
||||
# define BOOST_PP_IS_1_HELPER_1
|
||||
#
|
||||
# endif
|
||||
43
test/external/boost/preprocessor/facilities/is_empty.hpp
vendored
Normal file
43
test/external/boost/preprocessor/facilities/is_empty.hpp
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
# /* **************************************************************************
|
||||
# * *
|
||||
# * (C) Copyright Paul Mensonides 2003.
|
||||
# * Distributed under the Boost Software License, Version 1.0. (See
|
||||
# * accompanying file LICENSE_1_0.txt or copy at
|
||||
# * http://www.boost.org/LICENSE_1_0.txt)
|
||||
# * *
|
||||
# ************************************************************************** */
|
||||
#
|
||||
# /* See http://www.boost.org for most recent version. */
|
||||
#
|
||||
# ifndef BOOST_PREPROCESSOR_FACILITIES_IS_EMPTY_HPP
|
||||
# define BOOST_PREPROCESSOR_FACILITIES_IS_EMPTY_HPP
|
||||
#
|
||||
# include <boost/preprocessor/config/config.hpp>
|
||||
# include <boost/preprocessor/cat.hpp>
|
||||
# include <boost/preprocessor/tuple/elem.hpp>
|
||||
# include <boost/preprocessor/facilities/empty.hpp>
|
||||
# include <boost/preprocessor/detail/split.hpp>
|
||||
#
|
||||
# /* BOOST_PP_IS_EMPTY */
|
||||
#
|
||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC() && ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
|
||||
# define BOOST_PP_IS_EMPTY(x) BOOST_PP_IS_EMPTY_I(x BOOST_PP_IS_EMPTY_HELPER)
|
||||
# define BOOST_PP_IS_EMPTY_I(contents) BOOST_PP_TUPLE_ELEM(2, 1, (BOOST_PP_IS_EMPTY_DEF_ ## contents()))
|
||||
# define BOOST_PP_IS_EMPTY_DEF_BOOST_PP_IS_EMPTY_HELPER 1, 1 BOOST_PP_EMPTY
|
||||
# define BOOST_PP_IS_EMPTY_HELPER() , 0
|
||||
# else
|
||||
# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
|
||||
# define BOOST_PP_IS_EMPTY(x) BOOST_PP_IS_EMPTY_I(BOOST_PP_IS_EMPTY_HELPER x ())
|
||||
# define BOOST_PP_IS_EMPTY_I(test) BOOST_PP_IS_EMPTY_II(BOOST_PP_SPLIT(0, BOOST_PP_CAT(BOOST_PP_IS_EMPTY_DEF_, test)))
|
||||
# define BOOST_PP_IS_EMPTY_II(id) id
|
||||
# else
|
||||
# define BOOST_PP_IS_EMPTY(x) BOOST_PP_IS_EMPTY_I((BOOST_PP_IS_EMPTY_HELPER x ()))
|
||||
# define BOOST_PP_IS_EMPTY_I(par) BOOST_PP_IS_EMPTY_II ## par
|
||||
# define BOOST_PP_IS_EMPTY_II(test) BOOST_PP_SPLIT(0, BOOST_PP_CAT(BOOST_PP_IS_EMPTY_DEF_, test))
|
||||
# endif
|
||||
# define BOOST_PP_IS_EMPTY_HELPER() 1
|
||||
# define BOOST_PP_IS_EMPTY_DEF_1 1, BOOST_PP_NIL
|
||||
# define BOOST_PP_IS_EMPTY_DEF_BOOST_PP_IS_EMPTY_HELPER 0, BOOST_PP_NIL
|
||||
# endif
|
||||
#
|
||||
# endif
|
||||
30
test/external/boost/preprocessor/facilities/is_empty_or_1.hpp
vendored
Normal file
30
test/external/boost/preprocessor/facilities/is_empty_or_1.hpp
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
# /* **************************************************************************
|
||||
# * *
|
||||
# * (C) Copyright Paul Mensonides 2003.
|
||||
# * Distributed under the Boost Software License, Version 1.0. (See
|
||||
# * accompanying file LICENSE_1_0.txt or copy at
|
||||
# * http://www.boost.org/LICENSE_1_0.txt)
|
||||
# * *
|
||||
# ************************************************************************** */
|
||||
#
|
||||
# /* See http://www.boost.org for most recent version. */
|
||||
#
|
||||
# ifndef BOOST_PREPROCESSOR_FACILITIES_IS_EMPTY_OR_1_HPP
|
||||
# define BOOST_PREPROCESSOR_FACILITIES_IS_EMPTY_OR_1_HPP
|
||||
#
|
||||
# include <boost/preprocessor/control/iif.hpp>
|
||||
# include <boost/preprocessor/facilities/empty.hpp>
|
||||
# include <boost/preprocessor/facilities/is_1.hpp>
|
||||
# include <boost/preprocessor/facilities/is_empty.hpp>
|
||||
#
|
||||
# /* BOOST_PP_IS_EMPTY_OR_1 */
|
||||
#
|
||||
# define BOOST_PP_IS_EMPTY_OR_1(x) \
|
||||
BOOST_PP_IIF( \
|
||||
BOOST_PP_IS_EMPTY(x BOOST_PP_EMPTY()), \
|
||||
1 BOOST_PP_EMPTY, \
|
||||
BOOST_PP_IS_1 \
|
||||
)(x) \
|
||||
/**/
|
||||
#
|
||||
# endif
|
||||
Reference in New Issue
Block a user