Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:48:09

0001 # /* Copyright (C) 2001
0002 #  * Housemarque Oy
0003 #  * http://www.housemarque.com
0004 #  *
0005 #  * Distributed under the Boost Software License, Version 1.0. (See
0006 #  * accompanying file LICENSE_1_0.txt or copy at
0007 #  * http://www.boost.org/LICENSE_1_0.txt)
0008 #  */
0009 #
0010 # /* Revised by Paul Mensonides (2002) */
0011 #
0012 # /* See http://www.boost.org for most recent version. */
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 # /* BOOST_PP_LESS */
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 # /* BOOST_PP_LESS_D */
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