Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:48:07

0001 # /* **************************************************************************
0002 #  *                                                                          *
0003 #  *     (C) Copyright Paul Mensonides 2002.
0004 #  *     (C) Copyright Edward Diener 2014.
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_ARRAY_PUSH_BACK_HPP
0014 # define BOOST_PREPROCESSOR_ARRAY_PUSH_BACK_HPP
0015 #
0016 # include <boost/preprocessor/arithmetic/inc.hpp>
0017 # include <boost/preprocessor/array/data.hpp>
0018 # include <boost/preprocessor/array/size.hpp>
0019 # include <boost/preprocessor/config/config.hpp>
0020 # include <boost/preprocessor/punctuation/comma_if.hpp>
0021 # include <boost/preprocessor/tuple/rem.hpp>
0022 # include <boost/preprocessor/array/detail/get_data.hpp>
0023 #
0024 # /* BOOST_PP_ARRAY_PUSH_BACK */
0025 #
0026 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
0027 #    define BOOST_PP_ARRAY_PUSH_BACK(array, elem) BOOST_PP_ARRAY_PUSH_BACK_I(BOOST_PP_ARRAY_SIZE(array), BOOST_PP_ARRAY_DATA(array), elem)
0028 # else
0029 #    define BOOST_PP_ARRAY_PUSH_BACK(array, elem) BOOST_PP_ARRAY_PUSH_BACK_D(array, elem)
0030 #    define BOOST_PP_ARRAY_PUSH_BACK_D(array, elem) BOOST_PP_ARRAY_PUSH_BACK_I(BOOST_PP_ARRAY_SIZE(array), BOOST_PP_ARRAY_DATA(array), elem)
0031 # endif
0032 #
0033 # define BOOST_PP_ARRAY_PUSH_BACK_I(size, data, elem) (BOOST_PP_INC(size), (BOOST_PP_ARRAY_DETAIL_GET_DATA(size,data) BOOST_PP_COMMA_IF(size) elem))
0034 #
0035 # endif