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_ELEM_HPP
|
||||
@@ -44,6 +46,8 @@
|
||||
# define BOOST_PP_SEQ_ELEM_III(x, _) x
|
||||
# endif
|
||||
#
|
||||
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT()
|
||||
#
|
||||
# define BOOST_PP_SEQ_ELEM_0(x) x, BOOST_PP_NIL
|
||||
# define BOOST_PP_SEQ_ELEM_1(_) BOOST_PP_SEQ_ELEM_0
|
||||
# define BOOST_PP_SEQ_ELEM_2(_) BOOST_PP_SEQ_ELEM_1
|
||||
@@ -301,4 +305,23 @@
|
||||
# define BOOST_PP_SEQ_ELEM_254(_) BOOST_PP_SEQ_ELEM_253
|
||||
# define BOOST_PP_SEQ_ELEM_255(_) BOOST_PP_SEQ_ELEM_254
|
||||
#
|
||||
# else
|
||||
#
|
||||
# include <boost/preprocessor/config/limits.hpp>
|
||||
#
|
||||
# if BOOST_PP_LIMIT_SEQ == 256
|
||||
# include <boost/preprocessor/seq/limits/elem_256.hpp>
|
||||
# elif BOOST_PP_LIMIT_SEQ == 512
|
||||
# include <boost/preprocessor/seq/limits/elem_256.hpp>
|
||||
# include <boost/preprocessor/seq/limits/elem_512.hpp>
|
||||
# elif BOOST_PP_LIMIT_SEQ == 1024
|
||||
# include <boost/preprocessor/seq/limits/elem_256.hpp>
|
||||
# include <boost/preprocessor/seq/limits/elem_512.hpp>
|
||||
# include <boost/preprocessor/seq/limits/elem_1024.hpp>
|
||||
# else
|
||||
# error Incorrect value for the BOOST_PP_LIMIT_SEQ limit
|
||||
# endif
|
||||
#
|
||||
# endif
|
||||
#
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user