Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:49:59

0001 # /* **************************************************************************
0002 #  *                                                                          *
0003 #  *     (C) Copyright Edward Diener 2019.                                    *
0004 #  *     Distributed under the Boost Software License, Version 1.0. (See      *
0005 #  *     accompanying file LICENSE_1_0.txt or copy at                         *
0006 #  *     http://www.boost.org/LICENSE_1_0.txt)                                *
0007 #  *                                                                          *
0008 #  ************************************************************************** */
0009 #
0010 # /* See http://www.boost.org for most recent version. */
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