File indexing completed on 2025-01-18 09:50:05
0001 #
0002
0003
0004
0005
0006
0007
0008
0009
0010 #
0011 #
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 #
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