File indexing completed on 2025-01-18 09:49:59
0001 #
0002
0003
0004
0005
0006
0007
0008
0009 #
0010 #
0011 #
0012 # ifndef BOOST_PREPROCESSOR_VARIADIC_DETAIL_HAS_OPT_HPP
0013 # define BOOST_PREPROCESSOR_VARIADIC_DETAIL_HAS_OPT_HPP
0014 #
0015 # include <boost/preprocessor/config/config.hpp>
0016 #
0017 # if defined(__cplusplus) && __cplusplus > 201703L
0018 #
0019 # if BOOST_PP_VARIADICS_MSVC
0020 # include <boost/preprocessor/cat.hpp>
0021 # endif
0022 #
0023 # define BOOST_PP_VARIADIC_HAS_OPT_FUNCTION(...) \
0024 __VA_OPT__(,) , 1, 0 \
0025
0026 #
0027 # if BOOST_PP_VARIADICS_MSVC
0028 # define BOOST_PP_VARIADIC_HAS_OPT_ELEM0(e0, ...) BOOST_PP_CAT(BOOST_PP_VARIADIC_HAS_OPT_ELEM_0(e0,__VA_ARGS__),)
0029 # define BOOST_PP_VARIADIC_HAS_OPT_ELEM2(e0, ...) BOOST_PP_CAT(BOOST_PP_VARIADIC_HAS_OPT_ELEM_2(e0,__VA_ARGS__),)
0030 # else
0031 # define BOOST_PP_VARIADIC_HAS_OPT_ELEM0(e0, ...) BOOST_PP_VARIADIC_HAS_OPT_ELEM_0(e0,__VA_ARGS__)
0032 # define BOOST_PP_VARIADIC_HAS_OPT_ELEM2(e0, ...) BOOST_PP_VARIADIC_HAS_OPT_ELEM_2(e0,__VA_ARGS__)
0033 # endif
0034 # define BOOST_PP_VARIADIC_HAS_OPT_ELEM_0(e0, ...) e0
0035 # define BOOST_PP_VARIADIC_HAS_OPT_ELEM_2(e0, e1, e2, ...) e2
0036 #
0037 # endif
0038 #
0039 # endif