MessagePack for C++
Toggle main menu visibility
Loading...
Searching...
No Matches
msgpack
preprocessor
comparison
less.hpp
Go to the documentation of this file.
1
#
/* Copyright (C) 2001
2
# * Housemarque Oy
3
# * http://www.housemarque.com
4
# *
5
# * Distributed under the Boost Software License, Version 1.0. (See
6
# * accompanying file LICENSE_1_0.txt or copy at
7
# * http://www.boost.org/LICENSE_1_0.txt)
8
# */
9
#
10
#
/* Revised by Paul Mensonides (2002) */
11
#
12
#
/* See http://www.boost.org for most recent version. */
13
#
14
# ifndef MSGPACK_PREPROCESSOR_COMPARISON_LESS_HPP
15
# define MSGPACK_PREPROCESSOR_COMPARISON_LESS_HPP
16
#
17
# include <
msgpack/preprocessor/comparison/less_equal.hpp
>
18
# include <
msgpack/preprocessor/comparison/not_equal.hpp
>
19
# include <
msgpack/preprocessor/config/config.hpp
>
20
# include <
msgpack/preprocessor/control/iif.hpp
>
21
# include <
msgpack/preprocessor/logical/bitand.hpp
>
22
# include <
msgpack/preprocessor/tuple/eat.hpp
>
23
#
24
#
/* MSGPACK_PP_LESS */
25
#
26
# if MSGPACK_PP_CONFIG_FLAGS() & (MSGPACK_PP_CONFIG_MWCC() | MSGPACK_PP_CONFIG_DMC())
27
# define MSGPACK_PP_LESS(x, y) MSGPACK_PP_BITAND(MSGPACK_PP_NOT_EQUAL(x, y), MSGPACK_PP_LESS_EQUAL(x, y))
28
# elif ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG()
29
# define MSGPACK_PP_LESS(x, y) MSGPACK_PP_IIF(MSGPACK_PP_NOT_EQUAL(x, y), MSGPACK_PP_LESS_EQUAL, 0 MSGPACK_PP_TUPLE_EAT_2)(x, y)
30
# else
31
# define MSGPACK_PP_LESS(x, y) MSGPACK_PP_LESS_I(x, y)
32
# define MSGPACK_PP_LESS_I(x, y) MSGPACK_PP_IIF(MSGPACK_PP_NOT_EQUAL(x, y), MSGPACK_PP_LESS_EQUAL, 0 MSGPACK_PP_TUPLE_EAT_2)(x, y)
33
# endif
34
#
35
#
/* MSGPACK_PP_LESS_D */
36
#
37
# if MSGPACK_PP_CONFIG_FLAGS() & (MSGPACK_PP_CONFIG_MWCC() | MSGPACK_PP_CONFIG_DMC())
38
# define MSGPACK_PP_LESS_D(d, x, y) MSGPACK_PP_BITAND(MSGPACK_PP_NOT_EQUAL(x, y), MSGPACK_PP_LESS_EQUAL_D(d, x, y))
39
# elif ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG()
40
# define MSGPACK_PP_LESS_D(d, x, y) MSGPACK_PP_IIF(MSGPACK_PP_NOT_EQUAL(x, y), MSGPACK_PP_LESS_EQUAL_D, 0 MSGPACK_PP_TUPLE_EAT_3)(d, x, y)
41
# else
42
# define MSGPACK_PP_LESS_D(d, x, y) MSGPACK_PP_LESS_D_I(d, x, y)
43
# define MSGPACK_PP_LESS_D_I(d, x, y) MSGPACK_PP_IIF(MSGPACK_PP_NOT_EQUAL(x, y), MSGPACK_PP_LESS_EQUAL_D, 0 MSGPACK_PP_TUPLE_EAT_3)(d, x, y)
44
# endif
45
#
46
# endif
bitand.hpp
config.hpp
eat.hpp
iif.hpp
less_equal.hpp
not_equal.hpp
Generated by
1.17.0