]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/preprocessor/seq/elem.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / preprocessor / seq / elem.hpp
index 9c7a4b27665bbf957851eb0487cc423cb5e6158a..ec44c06f2babddc804e68be9c68e4680f8c1c31e 100644 (file)
@@ -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
 # 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