File indexing completed on 2025-01-18 09:49:13
0001 #
0002
0003
0004
0005
0006
0007
0008
0009 #
0010 #
0011 #
0012 #
0013 #
0014 # ifndef BOOST_PREPROCESSOR_SELECTION_MAX_HPP
0015 # define BOOST_PREPROCESSOR_SELECTION_MAX_HPP
0016 #
0017 # include <boost/preprocessor/comparison/less_equal.hpp>
0018 # include <boost/preprocessor/config/config.hpp>
0019 # include <boost/preprocessor/control/iif.hpp>
0020 #
0021 #
0022 #
0023 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
0024 # define BOOST_PP_MAX(x, y) BOOST_PP_IIF(BOOST_PP_LESS_EQUAL(x, y), y, x)
0025 # else
0026 # define BOOST_PP_MAX(x, y) BOOST_PP_MAX_I(x, y)
0027 # define BOOST_PP_MAX_I(x, y) BOOST_PP_IIF(BOOST_PP_LESS_EQUAL(x, y), y, x)
0028 # endif
0029 #
0030 #
0031 #
0032 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
0033 # define BOOST_PP_MAX_D(d, x, y) BOOST_PP_IIF(BOOST_PP_LESS_EQUAL_D(d, x, y), y, x)
0034 # else
0035 # define BOOST_PP_MAX_D(d, x, y) BOOST_PP_MAX_D_I(d, x, y)
0036 # define BOOST_PP_MAX_D_I(d, x, y) BOOST_PP_IIF(BOOST_PP_LESS_EQUAL_D(d, x, y), y, x)
0037 # endif
0038 #
0039 # endif