File indexing completed on 2025-01-18 09:48:07
0001 #
0002
0003
0004
0005
0006
0007
0008
0009
0010 #
0011 #
0012 #
0013 # ifndef BOOST_PREPROCESSOR_ARRAY_PUSH_FRONT_HPP
0014 # define BOOST_PREPROCESSOR_ARRAY_PUSH_FRONT_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 #
0025 #
0026 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
0027 # define BOOST_PP_ARRAY_PUSH_FRONT(array, elem) BOOST_PP_ARRAY_PUSH_FRONT_I(BOOST_PP_ARRAY_SIZE(array), BOOST_PP_ARRAY_DATA(array), elem)
0028 # else
0029 # define BOOST_PP_ARRAY_PUSH_FRONT(array, elem) BOOST_PP_ARRAY_PUSH_FRONT_D(array, elem)
0030 # define BOOST_PP_ARRAY_PUSH_FRONT_D(array, elem) BOOST_PP_ARRAY_PUSH_FRONT_I(BOOST_PP_ARRAY_SIZE(array), BOOST_PP_ARRAY_DATA(array), elem)
0031 # endif
0032 #
0033 # define BOOST_PP_ARRAY_PUSH_FRONT_I(size, data, elem) (BOOST_PP_INC(size), (elem BOOST_PP_COMMA_IF(size) BOOST_PP_ARRAY_DETAIL_GET_DATA(size,data)))
0034 #
0035 # endif