2002-09-08 10:22:48 +00:00
|
|
|
# /* Copyright (C) 2001
|
|
|
|
# * Housemarque Oy
|
|
|
|
# * http://www.housemarque.com
|
|
|
|
# *
|
2004-09-13 15:51:29 +00:00
|
|
|
# * Distributed under the Boost Software License, Version 1.0. (See
|
|
|
|
# * accompanying file LICENSE_1_0.txt or copy at
|
|
|
|
# * http://www.boost.org/LICENSE_1_0.txt)
|
2002-09-08 10:22:48 +00:00
|
|
|
# */
|
|
|
|
#
|
|
|
|
# /* Revised by Paul Mensonides (2002) */
|
2020-04-29 06:38:10 -04:00
|
|
|
# /* Revised by Edward Diener (2011,2020) */
|
2002-09-08 10:22:48 +00:00
|
|
|
#
|
|
|
|
# /* See http://www.boost.org for most recent version. */
|
|
|
|
#
|
|
|
|
# ifndef BOOST_PREPROCESSOR_CONFIG_LIMITS_HPP
|
|
|
|
# define BOOST_PREPROCESSOR_CONFIG_LIMITS_HPP
|
|
|
|
#
|
2020-05-29 21:35:08 -04:00
|
|
|
# include <boost/preprocessor/config/config.hpp>
|
|
|
|
#
|
2020-04-29 06:38:10 -04:00
|
|
|
# if defined(BOOST_PP_LIMIT_DIM)
|
|
|
|
# undef BOOST_PP_LIMIT_DIM
|
|
|
|
# endif
|
|
|
|
# if defined(BOOST_PP_LIMIT_ITERATION_DIM)
|
|
|
|
# undef BOOST_PP_LIMIT_ITERATION_DIM
|
|
|
|
# endif
|
|
|
|
# if defined(BOOST_PP_LIMIT_SLOT_SIG)
|
|
|
|
# undef BOOST_PP_LIMIT_SLOT_SIG
|
|
|
|
# endif
|
|
|
|
# if defined(BOOST_PP_LIMIT_SLOT_COUNT)
|
|
|
|
# undef BOOST_PP_LIMIT_SLOT_COUNT
|
|
|
|
# endif
|
2020-05-01 14:38:32 -04:00
|
|
|
# if defined(BOOST_PP_LIMIT_WHILE)
|
|
|
|
# undef BOOST_PP_LIMIT_WHILE
|
|
|
|
# endif
|
2020-05-29 21:35:08 -04:00
|
|
|
#
|
|
|
|
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT()
|
|
|
|
#
|
|
|
|
# if defined(BOOST_PP_LIMIT_MAG)
|
|
|
|
# undef BOOST_PP_LIMIT_MAG
|
|
|
|
# endif
|
|
|
|
# if defined(BOOST_PP_LIMIT_VARIADIC)
|
|
|
|
# undef BOOST_PP_LIMIT_VARIADIC
|
|
|
|
# endif
|
|
|
|
# if defined(BOOST_PP_LIMIT_TUPLE)
|
|
|
|
# undef BOOST_PP_LIMIT_TUPLE
|
|
|
|
# endif
|
|
|
|
# if defined(BOOST_PP_LIMIT_FOR)
|
|
|
|
# undef BOOST_PP_LIMIT_FOR
|
|
|
|
# endif
|
|
|
|
# if defined(BOOST_PP_LIMIT_REPEAT)
|
|
|
|
# undef BOOST_PP_LIMIT_REPEAT
|
|
|
|
# endif
|
|
|
|
# if defined(BOOST_PP_LIMIT_SEQ)
|
|
|
|
# undef BOOST_PP_LIMIT_SEQ
|
|
|
|
# endif
|
|
|
|
# if defined(BOOST_PP_LIMIT_ITERATION)
|
|
|
|
# undef BOOST_PP_LIMIT_ITERATION
|
|
|
|
# endif
|
|
|
|
#
|
|
|
|
# define BOOST_PP_LIMIT_MAG 256
|
|
|
|
# define BOOST_PP_LIMIT_WHILE 256
|
|
|
|
# define BOOST_PP_LIMIT_VARIADIC 64
|
|
|
|
# define BOOST_PP_LIMIT_TUPLE 64
|
|
|
|
# define BOOST_PP_LIMIT_FOR 256
|
|
|
|
# define BOOST_PP_LIMIT_SEQ 256
|
|
|
|
# define BOOST_PP_LIMIT_REPEAT 256
|
|
|
|
# define BOOST_PP_LIMIT_ITERATION 256
|
|
|
|
#
|
|
|
|
#else
|
|
|
|
#
|
2020-05-01 14:38:32 -04:00
|
|
|
# if defined(BOOST_PP_LIMIT_MAG)
|
|
|
|
# if !(BOOST_PP_LIMIT_MAG == 256 || BOOST_PP_LIMIT_MAG == 512)
|
|
|
|
# undef BOOST_PP_LIMIT_MAG
|
|
|
|
# define BOOST_PP_LIMIT_MAG 256
|
|
|
|
# define BOOST_PP_LIMIT_WHILE 256
|
|
|
|
# else
|
|
|
|
# define BOOST_PP_LIMIT_WHILE BOOST_PP_LIMIT_MAG
|
2020-06-04 21:52:46 -04:00
|
|
|
# if defined(BOOST_PP_LIMIT_SEQ)
|
|
|
|
# undef BOOST_PP_LIMIT_SEQ
|
|
|
|
# endif
|
2020-05-29 13:12:53 -04:00
|
|
|
# define BOOST_PP_LIMIT_SEQ BOOST_PP_LIMIT_MAG
|
2020-05-01 14:38:32 -04:00
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# define BOOST_PP_LIMIT_MAG 256
|
|
|
|
# define BOOST_PP_LIMIT_WHILE 256
|
|
|
|
# endif
|
2020-05-29 21:35:08 -04:00
|
|
|
#
|
2020-05-03 14:35:41 -04:00
|
|
|
# if defined(BOOST_PP_LIMIT_VARIADIC)
|
|
|
|
# if !(BOOST_PP_LIMIT_VARIADIC == 64 || BOOST_PP_LIMIT_VARIADIC == 128 || BOOST_PP_LIMIT_VARIADIC == 256)
|
|
|
|
# undef BOOST_PP_LIMIT_VARIADIC
|
|
|
|
# define BOOST_PP_LIMIT_VARIADIC 64
|
2020-05-29 13:12:53 -04:00
|
|
|
# else
|
2020-06-04 21:52:46 -04:00
|
|
|
# if defined(BOOST_PP_LIMIT_TUPLE)
|
|
|
|
# undef BOOST_PP_LIMIT_TUPLE
|
|
|
|
# endif
|
2020-05-29 13:12:53 -04:00
|
|
|
# define BOOST_PP_LIMIT_TUPLE BOOST_PP_LIMIT_VARIADIC
|
2020-05-03 14:35:41 -04:00
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# define BOOST_PP_LIMIT_VARIADIC 64
|
|
|
|
# endif
|
2020-05-29 21:35:08 -04:00
|
|
|
#
|
2020-05-03 14:35:41 -04:00
|
|
|
# if defined(BOOST_PP_LIMIT_TUPLE)
|
|
|
|
# if !(BOOST_PP_LIMIT_TUPLE == 64 || BOOST_PP_LIMIT_TUPLE == 128 || BOOST_PP_LIMIT_TUPLE == 256)
|
|
|
|
# undef BOOST_PP_LIMIT_TUPLE
|
|
|
|
# define BOOST_PP_LIMIT_TUPLE 64
|
|
|
|
# elif BOOST_PP_LIMIT_TUPLE > BOOST_PP_LIMIT_VARIADIC
|
2020-06-04 21:52:46 -04:00
|
|
|
# undef BOOST_PP_LIMIT_VARIADIC
|
2020-05-03 14:35:41 -04:00
|
|
|
# define BOOST_PP_LIMIT_VARIADIC BOOST_PP_LIMIT_TUPLE
|
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# define BOOST_PP_LIMIT_TUPLE 64
|
|
|
|
# endif
|
2020-05-29 21:35:08 -04:00
|
|
|
#
|
2020-04-30 09:06:06 -04:00
|
|
|
# if defined(BOOST_PP_LIMIT_FOR)
|
|
|
|
# if !(BOOST_PP_LIMIT_FOR == 256 || BOOST_PP_LIMIT_FOR == 512)
|
|
|
|
# undef BOOST_PP_LIMIT_FOR
|
|
|
|
# define BOOST_PP_LIMIT_FOR 256
|
2020-05-01 14:38:32 -04:00
|
|
|
# elif BOOST_PP_LIMIT_FOR > BOOST_PP_LIMIT_MAG
|
|
|
|
# define BOOST_PP_LIMIT_FOR BOOST_PP_LIMIT_MAG
|
2020-04-30 09:06:06 -04:00
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# define BOOST_PP_LIMIT_FOR 256
|
|
|
|
# endif
|
2020-05-29 21:35:08 -04:00
|
|
|
#
|
2020-04-30 09:06:06 -04:00
|
|
|
# if defined(BOOST_PP_LIMIT_REPEAT)
|
|
|
|
# if !(BOOST_PP_LIMIT_REPEAT == 256 || BOOST_PP_LIMIT_REPEAT == 512)
|
|
|
|
# undef BOOST_PP_LIMIT_REPEAT
|
|
|
|
# define BOOST_PP_LIMIT_REPEAT 256
|
2020-05-01 14:38:32 -04:00
|
|
|
# elif BOOST_PP_LIMIT_REPEAT > BOOST_PP_LIMIT_MAG
|
|
|
|
# define BOOST_PP_LIMIT_REPEAT BOOST_PP_LIMIT_MAG
|
2020-04-30 09:06:06 -04:00
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# define BOOST_PP_LIMIT_REPEAT 256
|
|
|
|
# endif
|
2020-05-29 21:35:08 -04:00
|
|
|
#
|
2020-04-30 09:06:06 -04:00
|
|
|
# if defined(BOOST_PP_LIMIT_SEQ)
|
|
|
|
# if !(BOOST_PP_LIMIT_SEQ == 256 || BOOST_PP_LIMIT_SEQ == 512)
|
|
|
|
# undef BOOST_PP_LIMIT_SEQ
|
|
|
|
# define BOOST_PP_LIMIT_SEQ 256
|
2020-05-01 14:38:32 -04:00
|
|
|
# elif BOOST_PP_LIMIT_SEQ > BOOST_PP_LIMIT_MAG
|
2020-04-30 09:06:06 -04:00
|
|
|
# define BOOST_PP_LIMIT_SEQ BOOST_PP_LIMIT_MAG
|
|
|
|
# endif
|
2020-04-29 06:38:10 -04:00
|
|
|
# else
|
2020-05-01 14:38:32 -04:00
|
|
|
# define BOOST_PP_LIMIT_SEQ 256
|
2020-04-29 06:38:10 -04:00
|
|
|
# endif
|
2020-05-29 21:35:08 -04:00
|
|
|
#
|
2020-05-03 22:31:58 -04:00
|
|
|
# if defined(BOOST_PP_LIMIT_ITERATION)
|
|
|
|
# if !(BOOST_PP_LIMIT_ITERATION == 256 || BOOST_PP_LIMIT_ITERATION == 512)
|
|
|
|
# undef BOOST_PP_LIMIT_ITERATION
|
2002-09-08 10:22:48 +00:00
|
|
|
# define BOOST_PP_LIMIT_ITERATION 256
|
2020-05-03 22:31:58 -04:00
|
|
|
# elif BOOST_PP_LIMIT_ITERATION > BOOST_PP_LIMIT_MAG
|
|
|
|
# define BOOST_PP_LIMIT_ITERATION BOOST_PP_LIMIT_MAG
|
|
|
|
# endif
|
|
|
|
# else
|
|
|
|
# define BOOST_PP_LIMIT_ITERATION 256
|
|
|
|
# endif
|
2020-05-29 21:35:08 -04:00
|
|
|
#
|
|
|
|
# endif
|
|
|
|
#
|
2020-05-03 22:31:58 -04:00
|
|
|
# define BOOST_PP_LIMIT_DIM 3
|
2002-09-12 08:00:48 +00:00
|
|
|
# define BOOST_PP_LIMIT_ITERATION_DIM 3
|
2002-09-08 10:22:48 +00:00
|
|
|
# define BOOST_PP_LIMIT_SLOT_SIG 10
|
|
|
|
# define BOOST_PP_LIMIT_SLOT_COUNT 5
|
|
|
|
#
|
|
|
|
# endif
|