| 
williamr@4
 | 
     1  | 
# /* **************************************************************************
  | 
| 
williamr@4
 | 
     2  | 
#  *                                                                          *
  | 
| 
williamr@4
 | 
     3  | 
#  *     (C) Copyright Paul Mensonides 2002.
  | 
| 
williamr@4
 | 
     4  | 
#  *     Distributed under the Boost Software License, Version 1.0. (See
  | 
| 
williamr@4
 | 
     5  | 
#  *     accompanying file LICENSE_1_0.txt or copy at
  | 
| 
williamr@4
 | 
     6  | 
#  *     http://www.boost.org/LICENSE_1_0.txt)
  | 
| 
williamr@4
 | 
     7  | 
#  *                                                                          *
  | 
| 
williamr@4
 | 
     8  | 
#  ************************************************************************** */
  | 
| 
williamr@4
 | 
     9  | 
#
  | 
| 
williamr@4
 | 
    10  | 
# /* See http://www.boost.org for most recent version. */
  | 
| 
williamr@4
 | 
    11  | 
#
  | 
| 
williamr@4
 | 
    12  | 
# ifndef BOOST_PREPROCESSOR_ARRAY_PUSH_FRONT_HPP
  | 
| 
williamr@4
 | 
    13  | 
# define BOOST_PREPROCESSOR_ARRAY_PUSH_FRONT_HPP
  | 
| 
williamr@4
 | 
    14  | 
#
  | 
| 
williamr@4
 | 
    15  | 
# include <boost/preprocessor/arithmetic/inc.hpp>
  | 
| 
williamr@4
 | 
    16  | 
# include <boost/preprocessor/array/data.hpp>
  | 
| 
williamr@4
 | 
    17  | 
# include <boost/preprocessor/array/size.hpp>
  | 
| 
williamr@4
 | 
    18  | 
# include <boost/preprocessor/config/config.hpp>
  | 
| 
williamr@4
 | 
    19  | 
# include <boost/preprocessor/punctuation/comma_if.hpp>
  | 
| 
williamr@4
 | 
    20  | 
# include <boost/preprocessor/tuple/rem.hpp>
  | 
| 
williamr@4
 | 
    21  | 
#
  | 
| 
williamr@4
 | 
    22  | 
# /* BOOST_PP_ARRAY_PUSH_FRONT */
  | 
| 
williamr@4
 | 
    23  | 
#
  | 
| 
williamr@4
 | 
    24  | 
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
  | 
| 
williamr@4
 | 
    25  | 
#    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)
  | 
| 
williamr@4
 | 
    26  | 
# else
  | 
| 
williamr@4
 | 
    27  | 
#    define BOOST_PP_ARRAY_PUSH_FRONT(array, elem) BOOST_PP_ARRAY_PUSH_FRONT_D(array, elem)
  | 
| 
williamr@4
 | 
    28  | 
#    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)
  | 
| 
williamr@4
 | 
    29  | 
# endif
  | 
| 
williamr@4
 | 
    30  | 
#
  | 
| 
williamr@4
 | 
    31  | 
# define BOOST_PP_ARRAY_PUSH_FRONT_I(size, data, elem) (BOOST_PP_INC(size), (elem BOOST_PP_COMMA_IF(size) BOOST_PP_TUPLE_REM(size) data))
  | 
| 
williamr@4
 | 
    32  | 
#
  | 
| 
williamr@4
 | 
    33  | 
# endif
  |