# /* ************************************************************************** # * * # * (C) Copyright Edward Diener 2013. # * 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 ACTIV_BOOST_PREPROCESSOR_TUPLE_INSERT_HPP # define ACTIV_BOOST_PREPROCESSOR_TUPLE_INSERT_HPP # # include # include # include # include # # /* ACTIV_BOOST_PP_TUPLE_INSERT */ # # define ACTIV_BOOST_PP_TUPLE_INSERT(tuple, i, elem) \ ACTIV_BOOST_PP_ARRAY_TO_TUPLE(ACTIV_BOOST_PP_ARRAY_INSERT(ACTIV_BOOST_PP_TUPLE_TO_ARRAY(tuple), i, elem)) \ /**/ # # /* ACTIV_BOOST_PP_TUPLE_INSERT_D */ # # define ACTIV_BOOST_PP_TUPLE_INSERT_D(d, tuple, i, elem) \ ACTIV_BOOST_PP_ARRAY_TO_TUPLE(ACTIV_BOOST_PP_ARRAY_INSERT_D(d, ACTIV_BOOST_PP_TUPLE_TO_ARRAY(tuple), i, elem)) \ /**/ # # endif // ACTIV_BOOST_PREPROCESSOR_TUPLE_INSERT_HPP