forked from boostorg/preprocessor
Corrected limit. Added BOOST_PP_IS_STANDARD macro. Updated variadic tests.
This commit is contained in:
@ -29,15 +29,15 @@
|
||||
# if defined(BOOST_PP_LIMIT_SLOT_COUNT)
|
||||
# undef BOOST_PP_LIMIT_SLOT_COUNT
|
||||
# endif
|
||||
# if defined(BOOST_PP_LIMIT_WHILE)
|
||||
# undef BOOST_PP_LIMIT_WHILE
|
||||
# endif
|
||||
#
|
||||
# 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_WHILE)
|
||||
# undef BOOST_PP_LIMIT_WHILE
|
||||
# endif
|
||||
# if defined(BOOST_PP_LIMIT_VARIADIC)
|
||||
# undef BOOST_PP_LIMIT_VARIADIC
|
||||
# endif
|
||||
@ -72,33 +72,15 @@
|
||||
# if !(BOOST_PP_LIMIT_MAG == 256 || BOOST_PP_LIMIT_MAG == 512 || BOOST_PP_LIMIT_MAG == 1024)
|
||||
# undef BOOST_PP_LIMIT_MAG
|
||||
# define BOOST_PP_LIMIT_MAG 256
|
||||
# define BOOST_PP_LIMIT_WHILE 256
|
||||
# else
|
||||
# if defined(BOOST_PP_LIMIT_WHILE) && BOOST_PP_LIMIT_WHILE < BOOST_PP_LIMIT_MAG
|
||||
# undef BOOST_PP_LIMIT_WHILE
|
||||
# endif
|
||||
# if !defined(BOOST_PP_LIMIT_WHILE)
|
||||
# define BOOST_PP_LIMIT_WHILE BOOST_PP_LIMIT_MAG
|
||||
# endif
|
||||
# if !defined(BOOST_PP_LIMIT_SEQ)
|
||||
# define BOOST_PP_LIMIT_SEQ BOOST_PP_LIMIT_MAG
|
||||
# endif
|
||||
# endif
|
||||
# else
|
||||
# define BOOST_PP_LIMIT_MAG 256
|
||||
# if !defined(BOOST_PP_LIMIT_WHILE)
|
||||
# define BOOST_PP_LIMIT_WHILE 256
|
||||
# endif
|
||||
# endif
|
||||
#
|
||||
# if defined(BOOST_PP_LIMIT_WHILE)
|
||||
# if !(BOOST_PP_LIMIT_WHILE == 256 || BOOST_PP_LIMIT_WHILE == 512 || BOOST_PP_LIMIT_WHILE == 1024)
|
||||
# undef BOOST_PP_LIMIT_WHILE
|
||||
# define BOOST_PP_LIMIT_WHILE 256
|
||||
# elif BOOST_PP_LIMIT_WHILE < BOOST_PP_LIMIT_MAG
|
||||
# undef BOOST_PP_LIMIT_WHILE
|
||||
# define BOOST_PP_LIMIT_WHILE BOOST_PP_LIMIT_MAG
|
||||
# endif
|
||||
# else
|
||||
# define BOOST_PP_LIMIT_WHILE 256
|
||||
# endif
|
||||
#
|
||||
|
Reference in New Issue
Block a user