Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-18 09:03:01

0001 # /* **************************************************************************
0002 #  *                                                                          *
0003 #  *     (C) Copyright Edward Diener 2014.                                    *
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_DETAIL_GET_DATA_HPP
0015 # define BOOST_PREPROCESSOR_ARRAY_DETAIL_GET_DATA_HPP
0016 0017 ">#
0018 # include <boost/preprocessor/config/config.hpp>
0019 # include <boost/preprocessor/tuple/rem.hpp>
0020 # include <boost/preprocessor/control/if.hpp>
0021 # include <boost/preprocessor/control/iif.hpp>
0022 # include <boost/preprocessor/facilities/is_1.hpp>
0023 0024 ">#
0025 # /* BOOST_PP_ARRAY_DETAIL_GET_DATA */
0026 0027 ">#
0028 # define BOOST_PP_ARRAY_DETAIL_GET_DATA_NONE(size, data)
0029 
0030 # if !(BOOST_PP_VARIADICS_MSVC && _MSC_VER <= 1400)
0031 #    if BOOST_PP_VARIADICS_MSVC
0032 #       define BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY_VC_DEFAULT(size, data) BOOST_PP_TUPLE_REM(size) data
0033 #       define BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY_VC_CAT(size, data) BOOST_PP_TUPLE_REM_CAT(size) data
0034 #       define BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY(size, data) \
0035             BOOST_PP_IIF \
0036                 ( \
0037                 BOOST_PP_IS_1(size), \
0038                 BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY_VC_CAT, \
0039                 BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY_VC_DEFAULT \
0040                 ) \
0041             (size,data) \
0042 /**/
0043 #    else
0044 #       define BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY(size, data) BOOST_PP_TUPLE_REM(size) data
0045 #    endif
0046 # else
0047 #    define BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY(size, data) BOOST_PP_TUPLE_REM(size) data
0048 # endif
0049 
0050 # define BOOST_PP_ARRAY_DETAIL_GET_DATA(size, data) \
0051     BOOST_PP_IF \
0052         ( \
0053         size, \
0054         BOOST_PP_ARRAY_DETAIL_GET_DATA_ANY, \
0055         BOOST_PP_ARRAY_DETAIL_GET_DATA_NONE \
0056         ) \
0057     (size,data) \
0058 /**/
0059 0060 ">#
0061 # endif /* BOOST_PREPROCESSOR_ARRAY_DETAIL_GET_DATA_HPP */