epoc32/include/stdapis/boost/preprocessor/seq/to_array.hpp
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
williamr@2
     1
# /* **************************************************************************
williamr@2
     2
#  *                                                                          *
williamr@2
     3
#  *     (C) Copyright Paul Mensonides 2002.
williamr@2
     4
#  *     Distributed under the Boost Software License, Version 1.0. (See
williamr@2
     5
#  *     accompanying file LICENSE_1_0.txt or copy at
williamr@2
     6
#  *     http://www.boost.org/LICENSE_1_0.txt)
williamr@2
     7
#  *                                                                          *
williamr@2
     8
#  ************************************************************************** */
williamr@2
     9
#
williamr@2
    10
# /* See http://www.boost.org for most recent version. */
williamr@2
    11
#
williamr@2
    12
# ifndef BOOST_PREPROCESSOR_SEQ_TO_ARRAY_HPP
williamr@2
    13
# define BOOST_PREPROCESSOR_SEQ_TO_ARRAY_HPP
williamr@2
    14
#
williamr@2
    15
# include <boost/preprocessor/config/config.hpp>
williamr@2
    16
# include <boost/preprocessor/seq/enum.hpp>
williamr@2
    17
# include <boost/preprocessor/seq/size.hpp>
williamr@2
    18
#
williamr@2
    19
# /* BOOST_PP_SEQ_TO_ARRAY */
williamr@2
    20
#
williamr@2
    21
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
williamr@2
    22
#    define BOOST_PP_SEQ_TO_ARRAY(seq) (BOOST_PP_SEQ_SIZE(seq), (BOOST_PP_SEQ_ENUM(seq)))
williamr@2
    23
# else
williamr@2
    24
#    define BOOST_PP_SEQ_TO_ARRAY(seq) BOOST_PP_SEQ_TO_ARRAY_I(seq)
williamr@2
    25
#    define BOOST_PP_SEQ_TO_ARRAY_I(seq) (BOOST_PP_SEQ_SIZE(seq), (BOOST_PP_SEQ_ENUM(seq)))
williamr@2
    26
# endif
williamr@2
    27
#
williamr@2
    28
# endif