Sha256: 17c72ca01a1c13f60289ed179d37096e4c98d679406786ac887f301a1dfa2741

Contents?: true

Size: 1.36 KB

Versions: 44

Compression:

Stored size: 1.36 KB

Contents

# /* **************************************************************************
#  *                                                                          *
#  *     (C) Copyright Edward Diener 2014.
#  *     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)
#  *                                                                          *
#  ************************************************************************** */
#
# /* See http://www.boost.org for most recent version. */
#
#ifndef MSGPACK_PREPROCESSOR_REMOVE_PARENS_HPP
#define MSGPACK_PREPROCESSOR_REMOVE_PARENS_HPP

#include <msgpack/preprocessor/config/config.hpp>

#if MSGPACK_PP_VARIADICS

#include <msgpack/preprocessor/control/iif.hpp>
#include <msgpack/preprocessor/facilities/identity.hpp>
#include <msgpack/preprocessor/punctuation/is_begin_parens.hpp>
#include <msgpack/preprocessor/tuple/enum.hpp>

#define MSGPACK_PP_REMOVE_PARENS(param) \
    MSGPACK_PP_IIF \
      ( \
      MSGPACK_PP_IS_BEGIN_PARENS(param), \
      MSGPACK_PP_REMOVE_PARENS_DO, \
      MSGPACK_PP_IDENTITY \
      ) \
    (param)() \
/**/

#define MSGPACK_PP_REMOVE_PARENS_DO(param) \
  MSGPACK_PP_IDENTITY(MSGPACK_PP_TUPLE_ENUM(param)) \
/**/

#endif /* MSGPACK_PP_VARIADICS */
#endif /* MSGPACK_PREPROCESSOR_REMOVE_PARENS_HPP */

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
script_core-0.3.2 ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/punctuation/remove_parens.hpp
script_core-0.3.0 ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/punctuation/remove_parens.hpp
script_core-0.2.7 ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/punctuation/remove_parens.hpp
script_core-0.2.6 ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/punctuation/remove_parens.hpp
script_core-0.2.5 ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/punctuation/remove_parens.hpp
script_core-0.2.4 ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/punctuation/remove_parens.hpp
script_core-0.2.3 ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/punctuation/remove_parens.hpp
script_core-0.2.2 ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/punctuation/remove_parens.hpp
script_core-0.2.1 ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/punctuation/remove_parens.hpp
script_core-0.2.0 ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/punctuation/remove_parens.hpp
rroonga-9.0.7-x64-mingw32 vendor/local/include/msgpack/preprocessor/punctuation/remove_parens.hpp
rroonga-9.0.7-x86-mingw32 vendor/local/include/msgpack/preprocessor/punctuation/remove_parens.hpp
script_core-0.1.1 ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/punctuation/remove_parens.hpp
rroonga-9.0.3-x64-mingw32 vendor/local/include/msgpack/preprocessor/punctuation/remove_parens.hpp
rroonga-9.0.3-x86-mingw32 vendor/local/include/msgpack/preprocessor/punctuation/remove_parens.hpp
rroonga-9.0.2-x64-mingw32 vendor/local/include/msgpack/preprocessor/punctuation/remove_parens.hpp
rroonga-9.0.2-x86-mingw32 vendor/local/include/msgpack/preprocessor/punctuation/remove_parens.hpp
script_core-0.1.0 ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/punctuation/remove_parens.hpp
script_core-0.0.6 ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/punctuation/remove_parens.hpp
script_core-0.0.5 ext/enterprise_script_service/msgpack/include/msgpack/preprocessor/punctuation/remove_parens.hpp