File indexing completed on 2026-09-14 08:59:01
0001 #
0002
0003
0004
0005
0006
0007
0008
0009 0010 ">#
0011 #
0012 0013 ">#
0014 # ifndef BOOST_PREPROCESSOR_SEQ_REVERSE_HPP
0015 # define BOOST_PREPROCESSOR_SEQ_REVERSE_HPP
0016 0017 ">#
0018 # include <boost/preprocessor/config/config.hpp>
0019 # include <boost/preprocessor/facilities/empty.hpp>
0020 # include <boost/preprocessor/seq/fold_left.hpp>
0021 0022 ">#
0023 #
0024 0025 ">#
0026 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
0027 # define BOOST_PP_SEQ_REVERSE(seq) BOOST_PP_SEQ_FOLD_LEFT(BOOST_PP_SEQ_REVERSE_O, BOOST_PP_EMPTY, seq)()
0028 # else
0029 # define BOOST_PP_SEQ_REVERSE(seq) BOOST_PP_SEQ_REVERSE_I(seq)
0030 # define BOOST_PP_SEQ_REVERSE_I(seq) BOOST_PP_SEQ_FOLD_LEFT(BOOST_PP_SEQ_REVERSE_O, BOOST_PP_EMPTY, seq)()
0031 # endif
0032 0033 ">#
0034 # define BOOST_PP_SEQ_REVERSE_O(s, state, elem) (elem) state
0035 0036 ">#
0037 #
0038 0039 ">#
0040 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
0041 # define BOOST_PP_SEQ_REVERSE_S(s, seq) BOOST_PP_SEQ_FOLD_LEFT_ ## s(BOOST_PP_SEQ_REVERSE_O, BOOST_PP_EMPTY, seq)()
0042 # else
0043 # define BOOST_PP_SEQ_REVERSE_S(s, seq) BOOST_PP_SEQ_REVERSE_S_I(s, seq)
0044 # define BOOST_PP_SEQ_REVERSE_S_I(s, seq) BOOST_PP_SEQ_FOLD_LEFT_ ## s(BOOST_PP_SEQ_REVERSE_O, BOOST_PP_EMPTY, seq)()
0045 # endif
0046 0047 ">#
0048 # endif