File indexing completed on 2025-01-18 09:48:09
0001 #
0002
0003
0004
0005
0006
0007
0008
0009 #
0010 #
0011 #
0012 #
0013 #
0014 # ifndef BOOST_PREPROCESSOR_COMPARISON_LESS_HPP
0015 # define BOOST_PREPROCESSOR_COMPARISON_LESS_HPP
0016 #
0017 # include <boost/preprocessor/comparison/less_equal.hpp>
0018 # include <boost/preprocessor/comparison/not_equal.hpp>
0019 # include <boost/preprocessor/config/config.hpp>
0020 # include <boost/preprocessor/control/iif.hpp>
0021 # include <boost/preprocessor/logical/bitand.hpp>
0022 # include <boost/preprocessor/tuple/eat.hpp>
0023 #
0024 #
0025 #
0026 # if BOOST_PP_CONFIG_FLAGS() & (BOOST_PP_CONFIG_MWCC() | BOOST_PP_CONFIG_DMC())
0027 # define BOOST_PP_LESS(x, y) BOOST_PP_BITAND(BOOST_PP_NOT_EQUAL(x, y), BOOST_PP_LESS_EQUAL(x, y))
0028 # elif ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
0029 # define BOOST_PP_LESS(x, y) BOOST_PP_IIF(BOOST_PP_NOT_EQUAL(x, y), BOOST_PP_LESS_EQUAL, 0 BOOST_PP_TUPLE_EAT_2)(x, y)
0030 # else
0031 # define BOOST_PP_LESS(x, y) BOOST_PP_LESS_I(x, y)
0032 # define BOOST_PP_LESS_I(x, y) BOOST_PP_IIF(BOOST_PP_NOT_EQUAL(x, y), BOOST_PP_LESS_EQUAL, 0 BOOST_PP_TUPLE_EAT_2)(x, y)
0033 # endif
0034 #
0035 #
0036 #
0037 # if BOOST_PP_CONFIG_FLAGS() & (BOOST_PP_CONFIG_MWCC() | BOOST_PP_CONFIG_DMC())
0038 # define BOOST_PP_LESS_D(d, x, y) BOOST_PP_BITAND(BOOST_PP_NOT_EQUAL(x, y), BOOST_PP_LESS_EQUAL_D(d, x, y))
0039 # elif ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
0040 # define BOOST_PP_LESS_D(d, x, y) BOOST_PP_IIF(BOOST_PP_NOT_EQUAL(x, y), BOOST_PP_LESS_EQUAL_D, 0 BOOST_PP_TUPLE_EAT_3)(d, x, y)
0041 # else
0042 # define BOOST_PP_LESS_D(d, x, y) BOOST_PP_LESS_D_I(d, x, y)
0043 # define BOOST_PP_LESS_D_I(d, x, y) BOOST_PP_IIF(BOOST_PP_NOT_EQUAL(x, y), BOOST_PP_LESS_EQUAL_D, 0 BOOST_PP_TUPLE_EAT_3)(d, x, y)
0044 # endif
0045 #
0046 # endif