File indexing completed on 2025-01-18 09:48:53
0001 #
0002
0003
0004
0005
0006
0007
0008
0009 #
0010 #
0011 #
0012 #ifndef BOOST_PREPROCESSOR_DETAIL_IS_BEGIN_PARENS_HPP
0013 #define BOOST_PREPROCESSOR_DETAIL_IS_BEGIN_PARENS_HPP
0014
0015 #if BOOST_PP_VARIADICS_MSVC
0016
0017 #include <boost/preprocessor/facilities/empty.hpp>
0018
0019 #define BOOST_PP_DETAIL_VD_IBP_CAT(a, b) BOOST_PP_DETAIL_VD_IBP_CAT_I(a, b)
0020 #define BOOST_PP_DETAIL_VD_IBP_CAT_I(a, b) BOOST_PP_DETAIL_VD_IBP_CAT_II(a ## b)
0021 #define BOOST_PP_DETAIL_VD_IBP_CAT_II(res) res
0022
0023 #define BOOST_PP_DETAIL_IBP_SPLIT(i, ...) \
0024 BOOST_PP_DETAIL_VD_IBP_CAT(BOOST_PP_DETAIL_IBP_PRIMITIVE_CAT(BOOST_PP_DETAIL_IBP_SPLIT_,i)(__VA_ARGS__),BOOST_PP_EMPTY()) \
0025
0026
0027 #define BOOST_PP_DETAIL_IBP_IS_VARIADIC_C(...) 1 1
0028
0029 #else
0030
0031 #define BOOST_PP_DETAIL_IBP_SPLIT(i, ...) \
0032 BOOST_PP_DETAIL_IBP_PRIMITIVE_CAT(BOOST_PP_DETAIL_IBP_SPLIT_,i)(__VA_ARGS__) \
0033
0034
0035 #define BOOST_PP_DETAIL_IBP_IS_VARIADIC_C(...) 1
0036
0037 #endif
0038
0039 #define BOOST_PP_DETAIL_IBP_SPLIT_0(a, ...) a
0040 #define BOOST_PP_DETAIL_IBP_SPLIT_1(a, ...) __VA_ARGS__
0041
0042 #define BOOST_PP_DETAIL_IBP_CAT(a, ...) BOOST_PP_DETAIL_IBP_PRIMITIVE_CAT(a,__VA_ARGS__)
0043 #define BOOST_PP_DETAIL_IBP_PRIMITIVE_CAT(a, ...) a ## __VA_ARGS__
0044
0045 #define BOOST_PP_DETAIL_IBP_IS_VARIADIC_R_1 1,
0046 #define BOOST_PP_DETAIL_IBP_IS_VARIADIC_R_BOOST_PP_DETAIL_IBP_IS_VARIADIC_C 0,
0047
0048 #endif