]> AND Private Git Repository - canny.git/blob - stc/exp/ml_stc_linux_make_v1.0/include/boost/preprocessor/comparison/less.hpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
ed071c4ce62605df15f1fdebd60789dc3ab9284b
[canny.git] / stc / exp / ml_stc_linux_make_v1.0 / include / boost / preprocessor / comparison / less.hpp
1 # /* Copyright (C) 2001\r
2 #  * Housemarque Oy\r
3 #  * http://www.housemarque.com\r
4 #  *\r
5 #  * Distributed under the Boost Software License, Version 1.0. (See\r
6 #  * accompanying file LICENSE_1_0.txt or copy at\r
7 #  * http://www.boost.org/LICENSE_1_0.txt)\r
8 #  */\r
9 #\r
10 # /* Revised by Paul Mensonides (2002) */\r
11 #\r
12 # /* See http://www.boost.org for most recent version. */\r
13 #\r
14 # ifndef BOOST_PREPROCESSOR_COMPARISON_LESS_HPP\r
15 # define BOOST_PREPROCESSOR_COMPARISON_LESS_HPP\r
16 #\r
17 # include <boost/preprocessor/comparison/less_equal.hpp>\r
18 # include <boost/preprocessor/comparison/not_equal.hpp>\r
19 # include <boost/preprocessor/config/config.hpp>\r
20 # include <boost/preprocessor/control/iif.hpp>\r
21 # include <boost/preprocessor/logical/bitand.hpp>\r
22 # include <boost/preprocessor/tuple/eat.hpp>\r
23 #\r
24 # /* BOOST_PP_LESS */\r
25 #\r
26 # if BOOST_PP_CONFIG_FLAGS() & (BOOST_PP_CONFIG_MWCC() | BOOST_PP_CONFIG_DMC())\r
27 #    define BOOST_PP_LESS(x, y) BOOST_PP_BITAND(BOOST_PP_NOT_EQUAL(x, y), BOOST_PP_LESS_EQUAL(x, y))\r
28 # elif ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()\r
29 #    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)\r
30 # else\r
31 #    define BOOST_PP_LESS(x, y) BOOST_PP_LESS_I(x, y)\r
32 #    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)\r
33 # endif\r
34 #\r
35 # /* BOOST_PP_LESS_D */\r
36 #\r
37 # if BOOST_PP_CONFIG_FLAGS() & (BOOST_PP_CONFIG_MWCC() | BOOST_PP_CONFIG_DMC())\r
38 #    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))\r
39 # elif ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()\r
40 #    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)\r
41 # else\r
42 #    define BOOST_PP_LESS_D(d, x, y) BOOST_PP_LESS_D_I(d, x, y)\r
43 #    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)\r
44 # endif\r
45 #\r
46 # endif\r