Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: hello_message_pack
include/msgpack/preprocessor/control/iif.hpp@0:3f9dbf1e2cb0, 2016-02-13 (annotated)
- Committer:
- hideakitai
- Date:
- Sat Feb 13 01:53:11 2016 +0000
- Revision:
- 0:3f9dbf1e2cb0
first commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hideakitai | 0:3f9dbf1e2cb0 | 1 | # /* ************************************************************************** |
hideakitai | 0:3f9dbf1e2cb0 | 2 | # * * |
hideakitai | 0:3f9dbf1e2cb0 | 3 | # * (C) Copyright Paul Mensonides 2002. |
hideakitai | 0:3f9dbf1e2cb0 | 4 | # * Distributed under the Boost Software License, Version 1.0. (See |
hideakitai | 0:3f9dbf1e2cb0 | 5 | # * accompanying file LICENSE_1_0.txt or copy at |
hideakitai | 0:3f9dbf1e2cb0 | 6 | # * http://www.boost.org/LICENSE_1_0.txt) |
hideakitai | 0:3f9dbf1e2cb0 | 7 | # * * |
hideakitai | 0:3f9dbf1e2cb0 | 8 | # ************************************************************************** */ |
hideakitai | 0:3f9dbf1e2cb0 | 9 | # |
hideakitai | 0:3f9dbf1e2cb0 | 10 | # /* See http://www.boost.org for most recent version. */ |
hideakitai | 0:3f9dbf1e2cb0 | 11 | # |
hideakitai | 0:3f9dbf1e2cb0 | 12 | # ifndef MSGPACK_PREPROCESSOR_CONTROL_IIF_HPP |
hideakitai | 0:3f9dbf1e2cb0 | 13 | # define MSGPACK_PREPROCESSOR_CONTROL_IIF_HPP |
hideakitai | 0:3f9dbf1e2cb0 | 14 | # |
hideakitai | 0:3f9dbf1e2cb0 | 15 | # include <msgpack/preprocessor/config/config.hpp> |
hideakitai | 0:3f9dbf1e2cb0 | 16 | # |
hideakitai | 0:3f9dbf1e2cb0 | 17 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_MWCC() |
hideakitai | 0:3f9dbf1e2cb0 | 18 | # define MSGPACK_PP_IIF(bit, t, f) MSGPACK_PP_IIF_I(bit, t, f) |
hideakitai | 0:3f9dbf1e2cb0 | 19 | # else |
hideakitai | 0:3f9dbf1e2cb0 | 20 | # define MSGPACK_PP_IIF(bit, t, f) MSGPACK_PP_IIF_OO((bit, t, f)) |
hideakitai | 0:3f9dbf1e2cb0 | 21 | # define MSGPACK_PP_IIF_OO(par) MSGPACK_PP_IIF_I ## par |
hideakitai | 0:3f9dbf1e2cb0 | 22 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 23 | # |
hideakitai | 0:3f9dbf1e2cb0 | 24 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_MSVC() |
hideakitai | 0:3f9dbf1e2cb0 | 25 | # define MSGPACK_PP_IIF_I(bit, t, f) MSGPACK_PP_IIF_ ## bit(t, f) |
hideakitai | 0:3f9dbf1e2cb0 | 26 | # else |
hideakitai | 0:3f9dbf1e2cb0 | 27 | # define MSGPACK_PP_IIF_I(bit, t, f) MSGPACK_PP_IIF_II(MSGPACK_PP_IIF_ ## bit(t, f)) |
hideakitai | 0:3f9dbf1e2cb0 | 28 | # define MSGPACK_PP_IIF_II(id) id |
hideakitai | 0:3f9dbf1e2cb0 | 29 | # endif |
hideakitai | 0:3f9dbf1e2cb0 | 30 | # |
hideakitai | 0:3f9dbf1e2cb0 | 31 | # define MSGPACK_PP_IIF_0(t, f) f |
hideakitai | 0:3f9dbf1e2cb0 | 32 | # define MSGPACK_PP_IIF_1(t, f) t |
hideakitai | 0:3f9dbf1e2cb0 | 33 | # |
hideakitai | 0:3f9dbf1e2cb0 | 34 | # endif |