1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/boost/preprocessor/comparison/less.hpp Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,46 @@
1.4 +# /* Copyright (C) 2001
1.5 +# * Housemarque Oy
1.6 +# * http://www.housemarque.com
1.7 +# *
1.8 +# * Distributed under the Boost Software License, Version 1.0. (See
1.9 +# * accompanying file LICENSE_1_0.txt or copy at
1.10 +# * http://www.boost.org/LICENSE_1_0.txt)
1.11 +# */
1.12 +#
1.13 +# /* Revised by Paul Mensonides (2002) */
1.14 +#
1.15 +# /* See http://www.boost.org for most recent version. */
1.16 +#
1.17 +# ifndef BOOST_PREPROCESSOR_COMPARISON_LESS_HPP
1.18 +# define BOOST_PREPROCESSOR_COMPARISON_LESS_HPP
1.19 +#
1.20 +# include <boost/preprocessor/comparison/less_equal.hpp>
1.21 +# include <boost/preprocessor/comparison/not_equal.hpp>
1.22 +# include <boost/preprocessor/config/config.hpp>
1.23 +# include <boost/preprocessor/control/iif.hpp>
1.24 +# include <boost/preprocessor/logical/bitand.hpp>
1.25 +# include <boost/preprocessor/tuple/eat.hpp>
1.26 +#
1.27 +# /* BOOST_PP_LESS */
1.28 +#
1.29 +# if BOOST_PP_CONFIG_FLAGS() & (BOOST_PP_CONFIG_MWCC() | BOOST_PP_CONFIG_DMC())
1.30 +# define BOOST_PP_LESS(x, y) BOOST_PP_BITAND(BOOST_PP_NOT_EQUAL(x, y), BOOST_PP_LESS_EQUAL(x, y))
1.31 +# elif ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
1.32 +# 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)
1.33 +# else
1.34 +# define BOOST_PP_LESS(x, y) BOOST_PP_LESS_I(x, y)
1.35 +# 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)
1.36 +# endif
1.37 +#
1.38 +# /* BOOST_PP_LESS_D */
1.39 +#
1.40 +# if BOOST_PP_CONFIG_FLAGS() & (BOOST_PP_CONFIG_MWCC() | BOOST_PP_CONFIG_DMC())
1.41 +# 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))
1.42 +# elif ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
1.43 +# 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)
1.44 +# else
1.45 +# define BOOST_PP_LESS_D(d, x, y) BOOST_PP_LESS_D_I(d, x, y)
1.46 +# 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)
1.47 +# endif
1.48 +#
1.49 +# endif