Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-07 08:15:54

0001 # /* **************************************************************************
0002 #  *                                                                          *
0003 #  *     (C) Copyright Paul Mensonides 2002.
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 ">#
0011 # /* See http://www.boost.org for most recent version. */
0012 0013 ">#
0014 # ifndef BOOST_PREPROCESSOR_ARRAY_POP_BACK_HPP
0015 # define BOOST_PREPROCESSOR_ARRAY_POP_BACK_HPP
0016 0017 ">#
0018 # include <boost/preprocessor/arithmetic/dec.hpp>
0019 # include <boost/preprocessor/array/elem.hpp>
0020 # include <boost/preprocessor/array/size.hpp>
0021 # include <boost/preprocessor/repetition/enum.hpp>
0022 # include <boost/preprocessor/repetition/deduce_z.hpp>
0023 0024 ">#
0025 # /* BOOST_PP_ARRAY_POP_BACK */
0026 0027 ">#
0028 # define BOOST_PP_ARRAY_POP_BACK(array) BOOST_PP_ARRAY_POP_BACK_Z(BOOST_PP_DEDUCE_Z(), array)
0029 0030 ">#
0031 # /* BOOST_PP_ARRAY_POP_BACK_Z */
0032 0033 ">#
0034 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
0035 #    define BOOST_PP_ARRAY_POP_BACK_Z(z, array) BOOST_PP_ARRAY_POP_BACK_I(z, BOOST_PP_ARRAY_SIZE(array), array)
0036 # else
0037 #    define BOOST_PP_ARRAY_POP_BACK_Z(z, array) BOOST_PP_ARRAY_POP_BACK_Z_D(z, array)
0038 #    define BOOST_PP_ARRAY_POP_BACK_Z_D(z, array) BOOST_PP_ARRAY_POP_BACK_I(z, BOOST_PP_ARRAY_SIZE(array), array)
0039 # endif
0040 0041 ">#
0042 # define BOOST_PP_ARRAY_POP_BACK_I(z, size, array) (BOOST_PP_DEC(size), (BOOST_PP_ENUM_ ## z(BOOST_PP_DEC(size), BOOST_PP_ARRAY_POP_BACK_M, array)))
0043 # define BOOST_PP_ARRAY_POP_BACK_M(z, n, data) BOOST_PP_ARRAY_ELEM(n, data)
0044 0045 ">#
0046 # endif