update boost
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
# * *
|
||||
# ************************************************************************** */
|
||||
#
|
||||
# /* Revised by Edward Diener (2020) */
|
||||
#
|
||||
# /* See http://www.boost.org for most recent version. */
|
||||
#
|
||||
# ifndef BOOST_PREPROCESSOR_SEQ_ENUM_HPP
|
||||
@@ -28,6 +30,8 @@
|
||||
# define BOOST_PP_SEQ_ENUM(seq) BOOST_PP_CAT(BOOST_PP_SEQ_ENUM_, BOOST_PP_SEQ_SIZE(seq)) seq
|
||||
# endif
|
||||
#
|
||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT()
|
||||
#
|
||||
# define BOOST_PP_SEQ_ENUM_1(x) x
|
||||
# define BOOST_PP_SEQ_ENUM_2(x) x, BOOST_PP_SEQ_ENUM_1
|
||||
# define BOOST_PP_SEQ_ENUM_3(x) x, BOOST_PP_SEQ_ENUM_2
|
||||
@@ -285,4 +289,23 @@
|
||||
# define BOOST_PP_SEQ_ENUM_255(x) x, BOOST_PP_SEQ_ENUM_254
|
||||
# define BOOST_PP_SEQ_ENUM_256(x) x, BOOST_PP_SEQ_ENUM_255
|
||||
#
|
||||
# else
|
||||
#
|
||||
# include <boost/preprocessor/config/limits.hpp>
|
||||
#
|
||||
# if BOOST_PP_LIMIT_SEQ == 256
|
||||
# include <boost/preprocessor/seq/limits/enum_256.hpp>
|
||||
# elif BOOST_PP_LIMIT_SEQ == 512
|
||||
# include <boost/preprocessor/seq/limits/enum_256.hpp>
|
||||
# include <boost/preprocessor/seq/limits/enum_512.hpp>
|
||||
# elif BOOST_PP_LIMIT_SEQ == 1024
|
||||
# include <boost/preprocessor/seq/limits/enum_256.hpp>
|
||||
# include <boost/preprocessor/seq/limits/enum_512.hpp>
|
||||
# include <boost/preprocessor/seq/limits/enum_1024.hpp>
|
||||
# else
|
||||
# error Incorrect value for the BOOST_PP_LIMIT_SEQ limit
|
||||
# endif
|
||||
#
|
||||
# endif
|
||||
#
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user