Sha256: 78d383ac7580cd0492d50d72032437eddfff8370af58370d4dbbb0098e194d10

Contents?: true

Size: 1.99 KB

Versions: 14

Compression:

Stored size: 1.99 KB

Contents

# /* **************************************************************************
#  *                                                                          *
#  *     (C) Copyright Edward Diener 2011.                                    *
#  *     (C) Copyright Paul Mensonides 2011.                                  *
#  *     Distributed under the Boost Software License, Version 1.0. (See      *
#  *     accompanying file LICENSE_1_0.txt or copy at                         *
#  *     http://www.boost.org/LICENSE_1_0.txt)                                *
#  *                                                                          *
#  ************************************************************************** */
#
# /* See http://www.boost.org for most recent version. */
#
# ifndef BOOST_PREPROCESSOR_ARRAY_TO_SEQ_HPP
# define BOOST_PREPROCESSOR_ARRAY_TO_SEQ_HPP
#
# include <boost/preprocessor/cat.hpp>
# include <boost/preprocessor/config/config.hpp>
# include <boost/preprocessor/array/size.hpp>
# include <boost/preprocessor/control/if.hpp>
# include <boost/preprocessor/tuple/to_seq.hpp>
#
# /* BOOST_PP_ARRAY_TO_SEQ */
#
#    define BOOST_PP_ARRAY_TO_SEQ(array) \
        BOOST_PP_IF \
            ( \
            BOOST_PP_ARRAY_SIZE(array), \
            BOOST_PP_ARRAY_TO_SEQ_DO, \
            BOOST_PP_ARRAY_TO_SEQ_EMPTY \
            ) \
        (array) \
/**/
#    define BOOST_PP_ARRAY_TO_SEQ_EMPTY(array)
#
# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
#    define BOOST_PP_ARRAY_TO_SEQ_DO(array) BOOST_PP_ARRAY_TO_SEQ_I(BOOST_PP_TUPLE_TO_SEQ, array)
#    define BOOST_PP_ARRAY_TO_SEQ_I(m, args) BOOST_PP_ARRAY_TO_SEQ_II(m, args)
#    define BOOST_PP_ARRAY_TO_SEQ_II(m, args) BOOST_PP_CAT(m ## args,)
# elif BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
#    define BOOST_PP_ARRAY_TO_SEQ_DO(array) BOOST_PP_ARRAY_TO_SEQ_I(array)
#    define BOOST_PP_ARRAY_TO_SEQ_I(array) BOOST_PP_TUPLE_TO_SEQ ## array
# else
#    define BOOST_PP_ARRAY_TO_SEQ_DO(array) BOOST_PP_TUPLE_TO_SEQ array
# endif
#
# endif

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
passenger-6.0.23 src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp
passenger-6.0.8 src/cxx_supportlib/vendor-modified/boost/preprocessor/array/to_seq.hpp