1 # /* **************************************************************************
3 # * (C) Copyright Paul Mensonides 2002. Permission to copy, use, *
4 # * modify, sell, and distribute this software is granted provided *
5 # * this copyright notice appears in all copies. This software is *
6 # * provided "as is" without express or implied warranty, and with *
7 # * no claim at to its suitability for any purpose. *
9 # ************************************************************************** */
11 # /* See http://www.boost.org for most recent version. */
13 # ifndef BOOST_PREPROCESSOR_ARRAY_DATA_HPP
14 # define BOOST_PREPROCESSOR_ARRAY_DATA_HPP
16 # include <boost/preprocessor/config/config.hpp>
17 # include <boost/preprocessor/tuple/elem.hpp>
19 # /* BOOST_PP_ARRAY_DATA */
21 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
22 # define BOOST_PP_ARRAY_DATA(array) BOOST_PP_TUPLE_ELEM(2, 1, array)
24 # define BOOST_PP_ARRAY_DATA(array) BOOST_PP_ARRAY_DATA_I(array)
25 # define BOOST_PP_ARRAY_DATA_I(array) BOOST_PP_ARRAY_DATA_II array
26 # define BOOST_PP_ARRAY_DATA_II(size, data) data