mirror of
https://git.suyu.dev/suyu/ext-boost.git
synced 2026-01-03 13:14:36 +01:00
Add boost::icl::interval_map
This commit is contained in:
parent
15ac6eef19
commit
3bf6369aa9
359 changed files with 74778 additions and 0 deletions
30
boost/preprocessor/detail/is_unary.hpp
Normal file
30
boost/preprocessor/detail/is_unary.hpp
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# /* **************************************************************************
|
||||
# * *
|
||||
# * (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_DETAIL_IS_UNARY_HPP
|
||||
# define BOOST_PREPROCESSOR_DETAIL_IS_UNARY_HPP
|
||||
#
|
||||
# include <boost/preprocessor/config/config.hpp>
|
||||
# include <boost/preprocessor/detail/check.hpp>
|
||||
#
|
||||
# /* BOOST_PP_IS_UNARY */
|
||||
#
|
||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
|
||||
# define BOOST_PP_IS_UNARY(x) BOOST_PP_CHECK(x, BOOST_PP_IS_UNARY_CHECK)
|
||||
# else
|
||||
# define BOOST_PP_IS_UNARY(x) BOOST_PP_IS_UNARY_I(x)
|
||||
# define BOOST_PP_IS_UNARY_I(x) BOOST_PP_CHECK(x, BOOST_PP_IS_UNARY_CHECK)
|
||||
# endif
|
||||
#
|
||||
# define BOOST_PP_IS_UNARY_CHECK(a) 1
|
||||
# define BOOST_PP_CHECK_RESULT_BOOST_PP_IS_UNARY_CHECK 0, BOOST_PP_NIL
|
||||
#
|
||||
# endif
|
||||
17
boost/preprocessor/enum.hpp
Normal file
17
boost/preprocessor/enum.hpp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# /* **************************************************************************
|
||||
# * *
|
||||
# * (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_ENUM_HPP
|
||||
# define BOOST_PREPROCESSOR_ENUM_HPP
|
||||
#
|
||||
# include <boost/preprocessor/repetition/enum.hpp>
|
||||
#
|
||||
# endif
|
||||
17
boost/preprocessor/enum_params_with_a_default.hpp
Normal file
17
boost/preprocessor/enum_params_with_a_default.hpp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# /* **************************************************************************
|
||||
# * *
|
||||
# * (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_ENUM_PARAMS_WITH_A_DEFAULT_HPP
|
||||
# define BOOST_PREPROCESSOR_ENUM_PARAMS_WITH_A_DEFAULT_HPP
|
||||
#
|
||||
# include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
|
||||
#
|
||||
# endif
|
||||
277
boost/preprocessor/facilities/intercept.hpp
Normal file
277
boost/preprocessor/facilities/intercept.hpp
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
|
||||
17
boost/preprocessor/if.hpp
Normal file
17
boost/preprocessor/if.hpp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# /* **************************************************************************
|
||||
# * *
|
||||
# * (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_IF_HPP
|
||||
# define BOOST_PREPROCESSOR_IF_HPP
|
||||
#
|
||||
# include <boost/preprocessor/control/if.hpp>
|
||||
#
|
||||
# endif
|
||||
38
boost/preprocessor/logical/bitor.hpp
Normal file
38
boost/preprocessor/logical/bitor.hpp
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# /* **************************************************************************
|
||||
# * *
|
||||
# * (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_LOGICAL_BITOR_HPP
|
||||
# define BOOST_PREPROCESSOR_LOGICAL_BITOR_HPP
|
||||
#
|
||||
# include <boost/preprocessor/config/config.hpp>
|
||||
#
|
||||
# /* BOOST_PP_BITOR */
|
||||
#
|
||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
|
||||
# define BOOST_PP_BITOR(x, y) BOOST_PP_BITOR_I(x, y)
|
||||
# else
|
||||
# define BOOST_PP_BITOR(x, y) BOOST_PP_BITOR_OO((x, y))
|
||||
# define BOOST_PP_BITOR_OO(par) BOOST_PP_BITOR_I ## par
|
||||
# endif
|
||||
#
|
||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
|
||||
# define BOOST_PP_BITOR_I(x, y) BOOST_PP_BITOR_ ## x ## y
|
||||
# else
|
||||
# define BOOST_PP_BITOR_I(x, y) BOOST_PP_BITOR_ID(BOOST_PP_BITOR_ ## x ## y)
|
||||
# define BOOST_PP_BITOR_ID(id) id
|
||||
# endif
|
||||
#
|
||||
# define BOOST_PP_BITOR_00 0
|
||||
# define BOOST_PP_BITOR_01 1
|
||||
# define BOOST_PP_BITOR_10 1
|
||||
# define BOOST_PP_BITOR_11 1
|
||||
#
|
||||
# endif
|
||||
30
boost/preprocessor/logical/or.hpp
Normal file
30
boost/preprocessor/logical/or.hpp
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# /* 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_LOGICAL_OR_HPP
|
||||
# define BOOST_PREPROCESSOR_LOGICAL_OR_HPP
|
||||
#
|
||||
# include <boost/preprocessor/config/config.hpp>
|
||||
# include <boost/preprocessor/logical/bool.hpp>
|
||||
# include <boost/preprocessor/logical/bitor.hpp>
|
||||
#
|
||||
# /* BOOST_PP_OR */
|
||||
#
|
||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
|
||||
# define BOOST_PP_OR(p, q) BOOST_PP_BITOR(BOOST_PP_BOOL(p), BOOST_PP_BOOL(q))
|
||||
# else
|
||||
# define BOOST_PP_OR(p, q) BOOST_PP_OR_I(p, q)
|
||||
# define BOOST_PP_OR_I(p, q) BOOST_PP_BITOR(BOOST_PP_BOOL(p), BOOST_PP_BOOL(q))
|
||||
# endif
|
||||
#
|
||||
# endif
|
||||
17
boost/preprocessor/repeat_from_to.hpp
Normal file
17
boost/preprocessor/repeat_from_to.hpp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# /* **************************************************************************
|
||||
# * *
|
||||
# * (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_REPEAT_FROM_TO_HPP
|
||||
# define BOOST_PREPROCESSOR_REPEAT_FROM_TO_HPP
|
||||
#
|
||||
# include <boost/preprocessor/repetition/repeat_from_to.hpp>
|
||||
#
|
||||
# endif
|
||||
66
boost/preprocessor/repetition/enum.hpp
Normal file
66
boost/preprocessor/repetition/enum.hpp
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
# /* 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_REPETITION_ENUM_HPP
|
||||
# define BOOST_PREPROCESSOR_REPETITION_ENUM_HPP
|
||||
#
|
||||
# include <boost/preprocessor/cat.hpp>
|
||||
# include <boost/preprocessor/config/config.hpp>
|
||||
# include <boost/preprocessor/debug/error.hpp>
|
||||
# include <boost/preprocessor/detail/auto_rec.hpp>
|
||||
# include <boost/preprocessor/punctuation/comma_if.hpp>
|
||||
# include <boost/preprocessor/repetition/repeat.hpp>
|
||||
# include <boost/preprocessor/tuple/elem.hpp>
|
||||
# include <boost/preprocessor/tuple/rem.hpp>
|
||||
#
|
||||
# /* BOOST_PP_ENUM */
|
||||
#
|
||||
# if 0
|
||||
# define BOOST_PP_ENUM(count, macro, data)
|
||||
# endif
|
||||
#
|
||||
# define BOOST_PP_ENUM BOOST_PP_CAT(BOOST_PP_ENUM_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
|
||||
#
|
||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
|
||||
# define BOOST_PP_ENUM_1(c, m, d) BOOST_PP_REPEAT_1(c, BOOST_PP_ENUM_M_1, (m, d))
|
||||
# define BOOST_PP_ENUM_2(c, m, d) BOOST_PP_REPEAT_2(c, BOOST_PP_ENUM_M_2, (m, d))
|
||||
# define BOOST_PP_ENUM_3(c, m, d) BOOST_PP_REPEAT_3(c, BOOST_PP_ENUM_M_3, (m, d))
|
||||
# else
|
||||
# define BOOST_PP_ENUM_1(c, m, d) BOOST_PP_ENUM_1_I(c, m, d)
|
||||
# define BOOST_PP_ENUM_2(c, m, d) BOOST_PP_ENUM_2_I(c, m, d)
|
||||
# define BOOST_PP_ENUM_3(c, m, d) BOOST_PP_ENUM_3_I(c, m, d)
|
||||
# define BOOST_PP_ENUM_1_I(c, m, d) BOOST_PP_REPEAT_1(c, BOOST_PP_ENUM_M_1, (m, d))
|
||||
# define BOOST_PP_ENUM_2_I(c, m, d) BOOST_PP_REPEAT_2(c, BOOST_PP_ENUM_M_2, (m, d))
|
||||
# define BOOST_PP_ENUM_3_I(c, m, d) BOOST_PP_REPEAT_3(c, BOOST_PP_ENUM_M_3, (m, d))
|
||||
# endif
|
||||
#
|
||||
# define BOOST_PP_ENUM_4(c, m, d) BOOST_PP_ERROR(0x0003)
|
||||
#
|
||||
# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT()
|
||||
# define BOOST_PP_ENUM_M_1(z, n, md) BOOST_PP_ENUM_M_1_IM(z, n, BOOST_PP_TUPLE_REM_2 md)
|
||||
# define BOOST_PP_ENUM_M_2(z, n, md) BOOST_PP_ENUM_M_2_IM(z, n, BOOST_PP_TUPLE_REM_2 md)
|
||||
# define BOOST_PP_ENUM_M_3(z, n, md) BOOST_PP_ENUM_M_3_IM(z, n, BOOST_PP_TUPLE_REM_2 md)
|
||||
# define BOOST_PP_ENUM_M_1_IM(z, n, im) BOOST_PP_ENUM_M_1_I(z, n, im)
|
||||
# define BOOST_PP_ENUM_M_2_IM(z, n, im) BOOST_PP_ENUM_M_2_I(z, n, im)
|
||||
# define BOOST_PP_ENUM_M_3_IM(z, n, im) BOOST_PP_ENUM_M_3_I(z, n, im)
|
||||
# else
|
||||
# define BOOST_PP_ENUM_M_1(z, n, md) BOOST_PP_ENUM_M_1_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, md), BOOST_PP_TUPLE_ELEM(2, 1, md))
|
||||
# define BOOST_PP_ENUM_M_2(z, n, md) BOOST_PP_ENUM_M_2_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, md), BOOST_PP_TUPLE_ELEM(2, 1, md))
|
||||
# define BOOST_PP_ENUM_M_3(z, n, md) BOOST_PP_ENUM_M_3_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, md), BOOST_PP_TUPLE_ELEM(2, 1, md))
|
||||
# endif
|
||||
#
|
||||
# define BOOST_PP_ENUM_M_1_I(z, n, m, d) BOOST_PP_COMMA_IF(n) m(z, n, d)
|
||||
# define BOOST_PP_ENUM_M_2_I(z, n, m, d) BOOST_PP_COMMA_IF(n) m(z, n, d)
|
||||
# define BOOST_PP_ENUM_M_3_I(z, n, m, d) BOOST_PP_COMMA_IF(n) m(z, n, d)
|
||||
#
|
||||
# endif
|
||||
25
boost/preprocessor/repetition/enum_params_with_a_default.hpp
Normal file
25
boost/preprocessor/repetition/enum_params_with_a_default.hpp
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# /* 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_REPETITION_ENUM_PARAMS_WITH_A_DEFAULT_HPP
|
||||
# define BOOST_PREPROCESSOR_REPETITION_ENUM_PARAMS_WITH_A_DEFAULT_HPP
|
||||
#
|
||||
# include <boost/preprocessor/config/config.hpp>
|
||||
# include <boost/preprocessor/facilities/intercept.hpp>
|
||||
# include <boost/preprocessor/repetition/enum_binary_params.hpp>
|
||||
#
|
||||
# /* BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT */
|
||||
#
|
||||
# define BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(count, param, def) BOOST_PP_ENUM_BINARY_PARAMS(count, param, = def BOOST_PP_INTERCEPT)
|
||||
#
|
||||
# endif
|
||||
63
boost/preprocessor/repetition/enum_trailing.hpp
Normal file
63
boost/preprocessor/repetition/enum_trailing.hpp
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
# /* **************************************************************************
|
||||
# * *
|
||||
# * (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_REPETITION_ENUM_TRAILING_HPP
|
||||
# define BOOST_PREPROCESSOR_REPETITION_ENUM_TRAILING_HPP
|
||||
#
|
||||
# include <boost/preprocessor/cat.hpp>
|
||||
# include <boost/preprocessor/config/config.hpp>
|
||||
# include <boost/preprocessor/debug/error.hpp>
|
||||
# include <boost/preprocessor/detail/auto_rec.hpp>
|
||||
# include <boost/preprocessor/repetition/repeat.hpp>
|
||||
# include <boost/preprocessor/tuple/elem.hpp>
|
||||
# include <boost/preprocessor/tuple/rem.hpp>
|
||||
#
|
||||
# /* BOOST_PP_ENUM_TRAILING */
|
||||
#
|
||||
# if 0
|
||||
# define BOOST_PP_ENUM_TRAILING(count, macro, data)
|
||||
# endif
|
||||
#
|
||||
# define BOOST_PP_ENUM_TRAILING BOOST_PP_CAT(BOOST_PP_ENUM_TRAILING_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
|
||||
#
|
||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
|
||||
# define BOOST_PP_ENUM_TRAILING_1(c, m, d) BOOST_PP_REPEAT_1(c, BOOST_PP_ENUM_TRAILING_M_1, (m, d))
|
||||
# define BOOST_PP_ENUM_TRAILING_2(c, m, d) BOOST_PP_REPEAT_2(c, BOOST_PP_ENUM_TRAILING_M_2, (m, d))
|
||||
# define BOOST_PP_ENUM_TRAILING_3(c, m, d) BOOST_PP_REPEAT_3(c, BOOST_PP_ENUM_TRAILING_M_3, (m, d))
|
||||
# else
|
||||
# define BOOST_PP_ENUM_TRAILING_1(c, m, d) BOOST_PP_ENUM_TRAILING_1_I(c, m, d)
|
||||
# define BOOST_PP_ENUM_TRAILING_2(c, m, d) BOOST_PP_ENUM_TRAILING_2_I(c, m, d)
|
||||
# define BOOST_PP_ENUM_TRAILING_3(c, m, d) BOOST_PP_ENUM_TRAILING_3_I(c, m, d)
|
||||
# define BOOST_PP_ENUM_TRAILING_1_I(c, m, d) BOOST_PP_REPEAT_1(c, BOOST_PP_ENUM_TRAILING_M_1, (m, d))
|
||||
# define BOOST_PP_ENUM_TRAILING_2_I(c, m, d) BOOST_PP_REPEAT_2(c, BOOST_PP_ENUM_TRAILING_M_2, (m, d))
|
||||
# define BOOST_PP_ENUM_TRAILING_3_I(c, m, d) BOOST_PP_REPEAT_3(c, BOOST_PP_ENUM_TRAILING_M_3, (m, d))
|
||||
# endif
|
||||
#
|
||||
# define BOOST_PP_ENUM_TRAILING_4(c, m, d) BOOST_PP_ERROR(0x0003)
|
||||
#
|
||||
# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT()
|
||||
# define BOOST_PP_ENUM_TRAILING_M_1(z, n, md) BOOST_PP_ENUM_TRAILING_M_1_IM(z, n, BOOST_PP_TUPLE_REM_2 md)
|
||||
# define BOOST_PP_ENUM_TRAILING_M_2(z, n, md) BOOST_PP_ENUM_TRAILING_M_2_IM(z, n, BOOST_PP_TUPLE_REM_2 md)
|
||||
# define BOOST_PP_ENUM_TRAILING_M_3(z, n, md) BOOST_PP_ENUM_TRAILING_M_3_IM(z, n, BOOST_PP_TUPLE_REM_2 md)
|
||||
# define BOOST_PP_ENUM_TRAILING_M_1_IM(z, n, im) BOOST_PP_ENUM_TRAILING_M_1_I(z, n, im)
|
||||
# define BOOST_PP_ENUM_TRAILING_M_2_IM(z, n, im) BOOST_PP_ENUM_TRAILING_M_2_I(z, n, im)
|
||||
# define BOOST_PP_ENUM_TRAILING_M_3_IM(z, n, im) BOOST_PP_ENUM_TRAILING_M_3_I(z, n, im)
|
||||
# else
|
||||
# define BOOST_PP_ENUM_TRAILING_M_1(z, n, md) BOOST_PP_ENUM_TRAILING_M_1_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, md), BOOST_PP_TUPLE_ELEM(2, 1, md))
|
||||
# define BOOST_PP_ENUM_TRAILING_M_2(z, n, md) BOOST_PP_ENUM_TRAILING_M_2_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, md), BOOST_PP_TUPLE_ELEM(2, 1, md))
|
||||
# define BOOST_PP_ENUM_TRAILING_M_3(z, n, md) BOOST_PP_ENUM_TRAILING_M_3_I(z, n, BOOST_PP_TUPLE_ELEM(2, 0, md), BOOST_PP_TUPLE_ELEM(2, 1, md))
|
||||
# endif
|
||||
#
|
||||
# define BOOST_PP_ENUM_TRAILING_M_1_I(z, n, m, d) , m(z, n, d)
|
||||
# define BOOST_PP_ENUM_TRAILING_M_2_I(z, n, m, d) , m(z, n, d)
|
||||
# define BOOST_PP_ENUM_TRAILING_M_3_I(z, n, m, d) , m(z, n, d)
|
||||
#
|
||||
# endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue