Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 08:17:10

0001 # /* **************************************************************************
0002 #  *                                                                          *
0003 #  *     (C) Copyright Edward Diener 2011.                                    *
0004 #  *     (C) Copyright Paul Mensonides 2011.                                  *
0005 #  *     Distributed under the Boost Software License, Version 1.0. (See      *
0006 #  *     accompanying file LICENSE_1_0.txt or copy at                         *
0007 #  *     http://www.boost.org/LICENSE_1_0.txt)                                *
0008 #  *                                                                          *
0009 #  ************************************************************************** */
0010 0011 ">#
0012 # /* See http://www.boost.org for most recent version. */
0013 0014 ">#
0015 # ifndef BOOST_PREPROCESSOR_VARIADIC_TO_ARRAY_HPP
0016 # define BOOST_PREPROCESSOR_VARIADIC_TO_ARRAY_HPP
0017 0018 ">#
0019 # include <boost/preprocessor/config/config.hpp>
0020 # include <boost/preprocessor/control/if.hpp>
0021 # include <boost/preprocessor/tuple/to_array.hpp>
0022 # include <boost/preprocessor/variadic/has_opt.hpp>
0023 # include <boost/preprocessor/variadic/size.hpp>
0024 0025 ">#
0026 # /* BOOST_PP_VARIADIC_TO_ARRAY */
0027 0028 ">#
0029 # if BOOST_PP_VARIADIC_HAS_OPT()
0030 #     if BOOST_PP_VARIADICS_MSVC
0031 #         define BOOST_PP_VARIADIC_TO_ARRAY_NON_EMPTY(...) BOOST_PP_TUPLE_TO_ARRAY_2(BOOST_PP_VARIADIC_SIZE(__VA_ARGS__),(__VA_ARGS__))
0032 #     else
0033 #         define BOOST_PP_VARIADIC_TO_ARRAY_NON_EMPTY(...) BOOST_PP_TUPLE_TO_ARRAY((__VA_ARGS__))
0034 #     endif
0035 #     define BOOST_PP_VARIADIC_TO_ARRAY_EMPTY(...) (0,())
0036 #     define BOOST_PP_VARIADIC_TO_ARRAY(...) BOOST_PP_IF(BOOST_PP_VARIADIC_SIZE(__VA_ARGS__),BOOST_PP_VARIADIC_TO_ARRAY_NON_EMPTY,BOOST_PP_VARIADIC_TO_ARRAY_EMPTY)(__VA_ARGS__)
0037 # elif BOOST_PP_VARIADICS_MSVC
0038 #     define BOOST_PP_VARIADIC_TO_ARRAY(...) BOOST_PP_TUPLE_TO_ARRAY_2(BOOST_PP_VARIADIC_SIZE(__VA_ARGS__),(__VA_ARGS__))
0039 # else
0040 #     define BOOST_PP_VARIADIC_TO_ARRAY(...) BOOST_PP_TUPLE_TO_ARRAY((__VA_ARGS__))
0041 # endif
0042 0043 ">#
0044 # endif