Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:50:05

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 # /* See http://www.boost.org for most recent version. */
0012 #
0013 # ifndef BOOST_PREPROCESSOR_VARIADIC_TO_LIST_HPP
0014 # define BOOST_PREPROCESSOR_VARIADIC_TO_LIST_HPP
0015 #
0016 # include <boost/preprocessor/config/config.hpp>
0017 # include <boost/preprocessor/control/if.hpp>
0018 # include <boost/preprocessor/tuple/to_list.hpp>
0019 # include <boost/preprocessor/variadic/has_opt.hpp>
0020 # include <boost/preprocessor/variadic/size.hpp>
0021 #
0022 # /* BOOST_PP_VARIADIC_TO_LIST */
0023 #
0024 # if BOOST_PP_VARIADIC_HAS_OPT()
0025 #     define BOOST_PP_VARIADIC_TO_LIST_NOT_EMPTY(...) BOOST_PP_TUPLE_TO_LIST((__VA_ARGS__))
0026 #     define BOOST_PP_VARIADIC_TO_LIST_EMPTY(...) BOOST_PP_NIL
0027 #     define BOOST_PP_VARIADIC_TO_LIST(...) BOOST_PP_IF(BOOST_PP_VARIADIC_SIZE(__VA_ARGS__),BOOST_PP_VARIADIC_TO_LIST_NOT_EMPTY,BOOST_PP_VARIADIC_TO_LIST_EMPTY)(__VA_ARGS__)
0028 # else
0029 #     define BOOST_PP_VARIADIC_TO_LIST(...) BOOST_PP_TUPLE_TO_LIST((__VA_ARGS__))
0030 # endif
0031 #
0032 # endif