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/seq/reverse.hpp@4:bd0c06dd6e92, 2016-02-22 (annotated)
- Committer:
- hideakitai
- Date:
- Mon Feb 22 01:43:48 2016 +0000
- Revision:
- 4:bd0c06dd6e92
- Parent:
- 0:3f9dbf1e2cb0
fix throw error
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_SEQ_REVERSE_HPP | 
| hideakitai | 0:3f9dbf1e2cb0 | 13 | # define MSGPACK_PREPROCESSOR_SEQ_REVERSE_HPP | 
| hideakitai | 0:3f9dbf1e2cb0 | 14 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 15 | # include <msgpack/preprocessor/config/config.hpp> | 
| hideakitai | 0:3f9dbf1e2cb0 | 16 | # include <msgpack/preprocessor/facilities/empty.hpp> | 
| hideakitai | 0:3f9dbf1e2cb0 | 17 | # include <msgpack/preprocessor/seq/fold_left.hpp> | 
| hideakitai | 0:3f9dbf1e2cb0 | 18 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 19 | # /* MSGPACK_PP_SEQ_REVERSE */ | 
| hideakitai | 0:3f9dbf1e2cb0 | 20 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 21 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() | 
| hideakitai | 0:3f9dbf1e2cb0 | 22 | # define MSGPACK_PP_SEQ_REVERSE(seq) MSGPACK_PP_SEQ_FOLD_LEFT(MSGPACK_PP_SEQ_REVERSE_O, MSGPACK_PP_EMPTY, seq)() | 
| hideakitai | 0:3f9dbf1e2cb0 | 23 | # else | 
| hideakitai | 0:3f9dbf1e2cb0 | 24 | # define MSGPACK_PP_SEQ_REVERSE(seq) MSGPACK_PP_SEQ_REVERSE_I(seq) | 
| hideakitai | 0:3f9dbf1e2cb0 | 25 | # define MSGPACK_PP_SEQ_REVERSE_I(seq) MSGPACK_PP_SEQ_FOLD_LEFT(MSGPACK_PP_SEQ_REVERSE_O, MSGPACK_PP_EMPTY, seq)() | 
| hideakitai | 0:3f9dbf1e2cb0 | 26 | # endif | 
| hideakitai | 0:3f9dbf1e2cb0 | 27 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 28 | # define MSGPACK_PP_SEQ_REVERSE_O(s, state, elem) (elem) state | 
| hideakitai | 0:3f9dbf1e2cb0 | 29 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 30 | # /* MSGPACK_PP_SEQ_REVERSE_S */ | 
| hideakitai | 0:3f9dbf1e2cb0 | 31 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 32 | # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG() | 
| hideakitai | 0:3f9dbf1e2cb0 | 33 | # define MSGPACK_PP_SEQ_REVERSE_S(s, seq) MSGPACK_PP_SEQ_FOLD_LEFT_ ## s(MSGPACK_PP_SEQ_REVERSE_O, MSGPACK_PP_EMPTY, seq)() | 
| hideakitai | 0:3f9dbf1e2cb0 | 34 | # else | 
| hideakitai | 0:3f9dbf1e2cb0 | 35 | # define MSGPACK_PP_SEQ_REVERSE_S(s, seq) MSGPACK_PP_SEQ_REVERSE_S_I(s, seq) | 
| hideakitai | 0:3f9dbf1e2cb0 | 36 | # define MSGPACK_PP_SEQ_REVERSE_S_I(s, seq) MSGPACK_PP_SEQ_FOLD_LEFT_ ## s(MSGPACK_PP_SEQ_REVERSE_O, MSGPACK_PP_EMPTY, seq)() | 
| hideakitai | 0:3f9dbf1e2cb0 | 37 | # endif | 
| hideakitai | 0:3f9dbf1e2cb0 | 38 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 39 | # endif |