File indexing completed on 2025-01-18 09:53:38
0001
0002
0003
0004
0005
0006
0007 #if !defined(BOOST_VMD_SEQ_REMOVE_HPP)
0008 #define BOOST_VMD_SEQ_REMOVE_HPP
0009
0010 #include <boost/vmd/detail/setup.hpp>
0011
0012 #if BOOST_PP_VARIADICS
0013
0014 #include <boost/preprocessor/comparison/equal.hpp>
0015 #include <boost/preprocessor/control/iif.hpp>
0016 #include <boost/preprocessor/logical/bitand.hpp>
0017 #include <boost/preprocessor/seq/remove.hpp>
0018 #include <boost/preprocessor/seq/size.hpp>
0019 #include <boost/vmd/empty.hpp>
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042 #define BOOST_VMD_SEQ_REMOVE(seq,index) \
0043 BOOST_PP_IIF \
0044 ( \
0045 BOOST_PP_BITAND \
0046 ( \
0047 BOOST_PP_EQUAL(index,0), \
0048 BOOST_PP_EQUAL(BOOST_PP_SEQ_SIZE(seq),1) \
0049 ), \
0050 BOOST_VMD_EMPTY, \
0051 BOOST_PP_SEQ_REMOVE \
0052 ) \
0053 (seq,index) \
0054
0055
0056 #endif
0057 #endif