diff options
Diffstat (limited to 'third_party/msgpack/include/msgpack/preprocessor/facilities/identity.hpp')
-rw-r--r-- | third_party/msgpack/include/msgpack/preprocessor/facilities/identity.hpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/third_party/msgpack/include/msgpack/preprocessor/facilities/identity.hpp b/third_party/msgpack/include/msgpack/preprocessor/facilities/identity.hpp new file mode 100644 index 0000000000..9fbe1d305a --- /dev/null +++ b/third_party/msgpack/include/msgpack/preprocessor/facilities/identity.hpp @@ -0,0 +1,27 @@ +# /* Copyright (C) 2001 +# * Housemarque Oy +# * http://www.housemarque.com +# * +# * Distributed under the Boost Software License, Version 1.0. (See +# * accompanying file LICENSE_1_0.txt or copy at +# * http://www.boost.org/LICENSE_1_0.txt) +# */ +# +# /* Revised by Paul Mensonides (2002) */ +# /* Revised by Edward Diener (2015) */ +# +# /* See http://www.boost.org for most recent version. */ +# +# ifndef MSGPACK_PREPROCESSOR_FACILITIES_IDENTITY_HPP +# define MSGPACK_PREPROCESSOR_FACILITIES_IDENTITY_HPP +# +# include <msgpack/preprocessor/facilities/empty.hpp> +# include <msgpack/preprocessor/tuple/eat.hpp> +# +# /* MSGPACK_PP_IDENTITY */ +# +# define MSGPACK_PP_IDENTITY(item) item MSGPACK_PP_EMPTY +# +# define MSGPACK_PP_IDENTITY_N(item,n) item MSGPACK_PP_TUPLE_EAT_N(n) +# +# endif |