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/tuple/pop_back.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 Edward Diener 2013. | 
| 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_TUPLE_POP_BACK_HPP | 
| hideakitai | 0:3f9dbf1e2cb0 | 13 | # define MSGPACK_PREPROCESSOR_TUPLE_POP_BACK_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_VARIADICS | 
| hideakitai | 0:3f9dbf1e2cb0 | 18 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 19 | # include <msgpack/preprocessor/array/pop_back.hpp> | 
| hideakitai | 0:3f9dbf1e2cb0 | 20 | # include <msgpack/preprocessor/array/to_tuple.hpp> | 
| hideakitai | 0:3f9dbf1e2cb0 | 21 | # include <msgpack/preprocessor/comparison/greater.hpp> | 
| hideakitai | 0:3f9dbf1e2cb0 | 22 | # include <msgpack/preprocessor/control/iif.hpp> | 
| hideakitai | 0:3f9dbf1e2cb0 | 23 | # include <msgpack/preprocessor/tuple/size.hpp> | 
| hideakitai | 0:3f9dbf1e2cb0 | 24 | # include <msgpack/preprocessor/tuple/to_array.hpp> | 
| hideakitai | 0:3f9dbf1e2cb0 | 25 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 26 | # /* MSGPACK_PP_TUPLE_POP_BACK */ | 
| hideakitai | 0:3f9dbf1e2cb0 | 27 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 28 | # define MSGPACK_PP_TUPLE_POP_BACK(tuple) \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 29 | MSGPACK_PP_IIF \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 30 | ( \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 31 | MSGPACK_PP_GREATER(MSGPACK_PP_TUPLE_SIZE(tuple),1), \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 32 | MSGPACK_PP_TUPLE_POP_BACK_EXEC, \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 33 | MSGPACK_PP_TUPLE_POP_BACK_RETURN \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 34 | ) \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 35 | (tuple) \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 36 | /**/ | 
| hideakitai | 0:3f9dbf1e2cb0 | 37 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 38 | # define MSGPACK_PP_TUPLE_POP_BACK_EXEC(tuple) \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 39 | MSGPACK_PP_ARRAY_TO_TUPLE(MSGPACK_PP_ARRAY_POP_BACK(MSGPACK_PP_TUPLE_TO_ARRAY(tuple))) \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 40 | /**/ | 
| hideakitai | 0:3f9dbf1e2cb0 | 41 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 42 | # define MSGPACK_PP_TUPLE_POP_BACK_RETURN(tuple) tuple | 
| hideakitai | 0:3f9dbf1e2cb0 | 43 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 44 | # /* MSGPACK_PP_TUPLE_POP_BACK_Z */ | 
| hideakitai | 0:3f9dbf1e2cb0 | 45 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 46 | # define MSGPACK_PP_TUPLE_POP_BACK_Z(z, tuple) \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 47 | MSGPACK_PP_IIF \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 48 | ( \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 49 | MSGPACK_PP_GREATER(MSGPACK_PP_TUPLE_SIZE(tuple),1), \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 50 | MSGPACK_PP_TUPLE_POP_BACK_Z_EXEC, \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 51 | MSGPACK_PP_TUPLE_POP_BACK_Z_RETURN \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 52 | ) \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 53 | (z, tuple) \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 54 | /**/ | 
| hideakitai | 0:3f9dbf1e2cb0 | 55 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 56 | # define MSGPACK_PP_TUPLE_POP_BACK_Z_EXEC(z, tuple) \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 57 | MSGPACK_PP_ARRAY_TO_TUPLE(MSGPACK_PP_ARRAY_POP_BACK_Z(z, MSGPACK_PP_TUPLE_TO_ARRAY(tuple))) \ | 
| hideakitai | 0:3f9dbf1e2cb0 | 58 | /**/ | 
| hideakitai | 0:3f9dbf1e2cb0 | 59 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 60 | # define MSGPACK_PP_TUPLE_POP_BACK_Z_RETURN(z, tuple) tuple | 
| hideakitai | 0:3f9dbf1e2cb0 | 61 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 62 | # endif // MSGPACK_PP_VARIADICS | 
| hideakitai | 0:3f9dbf1e2cb0 | 63 | # | 
| hideakitai | 0:3f9dbf1e2cb0 | 64 | # endif // MSGPACK_PREPROCESSOR_TUPLE_POP_BACK_HPP |