forked from boostorg/preprocessor
Add 1024 limit for all related number functionality
This commit is contained in:
@ -14,14 +14,29 @@
|
||||
# ifndef BOOST_PREPROCESSOR_SEQ_DETAIL_SPLIT_HPP
|
||||
# define BOOST_PREPROCESSOR_SEQ_DETAIL_SPLIT_HPP
|
||||
#
|
||||
# include <boost/preprocessor/config/config.hpp>
|
||||
#
|
||||
# /* BOOST_PP_SEQ_SPLIT */
|
||||
#
|
||||
# define BOOST_PP_SEQ_SPLIT(n, seq) BOOST_PP_SEQ_SPLIT_D(n, seq)
|
||||
#
|
||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
|
||||
# define BOOST_PP_SEQ_SPLIT_D(n, seq) (BOOST_PP_SEQ_SPLIT_ ## n seq)
|
||||
# else
|
||||
# define BOOST_PP_SEQ_SPLIT_D(n, seq) (BOOST_PP_SEQ_SPLIT_ ## n ## seq)
|
||||
# endif
|
||||
#
|
||||
# include <boost/preprocessor/config/limits.hpp>
|
||||
#
|
||||
# if BOOST_PP_LIMIT_SEQ == 256
|
||||
# include <boost/preprocessor/seq/detail/limits/split_256.hpp>
|
||||
# elif BOOST_PP_LIMIT_SEQ == 512
|
||||
# include <boost/preprocessor/seq/detail/limits/split_256.hpp>
|
||||
# include <boost/preprocessor/seq/detail/limits/split_512.hpp>
|
||||
# elif BOOST_PP_LIMIT_SEQ == 1024
|
||||
# include <boost/preprocessor/seq/detail/limits/split_256.hpp>
|
||||
# include <boost/preprocessor/seq/detail/limits/split_512.hpp>
|
||||
# include <boost/preprocessor/seq/detail/limits/split_1024.hpp>
|
||||
# else
|
||||
# error Incorrect value for the BOOST_PP_LIMIT_SEQ limit
|
||||
# endif
|
||||
|
Reference in New Issue
Block a user