]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/preprocessor/seq/detail/split.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / preprocessor / seq / detail / split.hpp
index 7c339319186cbebbd0cc076eeea51cff9888aade..1208e8feac28253401cf95ae12dacc59d70a2d32 100644 (file)
@@ -7,6 +7,8 @@
 #  *                                                                          *
 #  ************************************************************************** */
 #
+# /* Revised by Edward Diener (2020) */
+#
 # /* See http://www.boost.org for most recent version. */
 #
 # ifndef BOOST_PREPROCESSOR_SEQ_DETAIL_SPLIT_HPP
@@ -24,6 +26,8 @@
 #    define BOOST_PP_SEQ_SPLIT_D(n, seq) (BOOST_PP_SEQ_SPLIT_ ## n ## seq)
 # endif
 #
+# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_STRICT()
+#
 # define BOOST_PP_SEQ_SPLIT_1(x) (x),
 # define BOOST_PP_SEQ_SPLIT_2(x) (x) BOOST_PP_SEQ_SPLIT_1
 # define BOOST_PP_SEQ_SPLIT_3(x) (x) BOOST_PP_SEQ_SPLIT_2
 # define BOOST_PP_SEQ_SPLIT_255(x) (x) BOOST_PP_SEQ_SPLIT_254
 # define BOOST_PP_SEQ_SPLIT_256(x) (x) BOOST_PP_SEQ_SPLIT_255
 #
+# else
+#
+# 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
+#
+# endif
+#
 # endif