Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-10 08:59:46

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 ">#
0011 # /* See http://www.boost.org for most recent version. */
0012 0013 ">#
0014 # ifndef BOOST_PREPROCESSOR_FACILITIES_VA_OPT_HPP
0015 # define BOOST_PREPROCESSOR_FACILITIES_VA_OPT_HPP
0016 # include <boost/preprocessor/variadic/has_opt.hpp>
0017 # if BOOST_PP_VARIADIC_HAS_OPT()
0018 # include <boost/preprocessor/control/iif.hpp>
0019 # include <boost/preprocessor/facilities/check_empty.hpp>
0020 # include <boost/preprocessor/tuple/rem.hpp>
0021 # define BOOST_PP_VA_OPT_IMPL(atuple) \
0022     BOOST_PP_TUPLE_REM() atuple       \
0023 /**/
0024 # define BOOST_PP_VA_OPT(rdata,rempty,...)     \
0025     BOOST_PP_VA_OPT_IMPL                       \
0026         (                                      \
0027         BOOST_PP_IIF                           \
0028             (                                  \
0029             BOOST_PP_CHECK_EMPTY(__VA_ARGS__), \
0030             rempty,                            \
0031             rdata                              \
0032             )                                  \
0033         )                                      \
0034 /**/
0035 # endif /* BOOST_PP_VARIADIC_HAS_OPT() */
0036 # endif /* BOOST_PREPROCESSOR_FACILITIES_VA_OPT_HPP */