Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:49:57

0001 # /* **************************************************************************
0002 #  *                                                                          *
0003 #  *     (C) Copyright Edward Diener 2013.
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 # /* See http://www.boost.org for most recent version. */
0011 #
0012 # ifndef BOOST_PREPROCESSOR_TUPLE_INSERT_HPP
0013 # define BOOST_PREPROCESSOR_TUPLE_INSERT_HPP
0014 #
0015 # include <boost/preprocessor/config/config.hpp>
0016 # include <boost/preprocessor/array/insert.hpp>
0017 # include <boost/preprocessor/array/to_tuple.hpp>
0018 # include <boost/preprocessor/tuple/to_array.hpp>
0019 #
0020 # /* BOOST_PP_TUPLE_INSERT */
0021 #
0022 # define BOOST_PP_TUPLE_INSERT(tuple, i, elem) \
0023     BOOST_PP_ARRAY_TO_TUPLE(BOOST_PP_ARRAY_INSERT(BOOST_PP_TUPLE_TO_ARRAY(tuple), i, elem)) \
0024 /**/
0025 #
0026 # /* BOOST_PP_TUPLE_INSERT_D */
0027 #
0028 # define BOOST_PP_TUPLE_INSERT_D(d, tuple, i, elem) \
0029     BOOST_PP_ARRAY_TO_TUPLE(BOOST_PP_ARRAY_INSERT_D(d, BOOST_PP_TUPLE_TO_ARRAY(tuple), i, elem)) \
0030 /**/
0031 #
0032 # endif // BOOST_PREPROCESSOR_TUPLE_INSERT_HPP