Sha256: 1047568f1260e596b83a05fcd0ec4c72123b0f2f41bf28733283ecfb42d47f01

Contents?: true

Size: 1.32 KB

Versions: 52

Compression:

Stored size: 1.32 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 BOOST_PREPROCESSOR_REMOVE_PARENS_HPP
#define BOOST_PREPROCESSOR_REMOVE_PARENS_HPP

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

#if BOOST_PP_VARIADICS

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

#define BOOST_PP_REMOVE_PARENS(param) \
    BOOST_PP_IIF \
      ( \
      BOOST_PP_IS_BEGIN_PARENS(param), \
      BOOST_PP_REMOVE_PARENS_DO, \
      BOOST_PP_IDENTITY \
      ) \
    (param)() \
/**/

#define BOOST_PP_REMOVE_PARENS_DO(param) \
  BOOST_PP_IDENTITY(BOOST_PP_TUPLE_ENUM(param)) \
/**/

#endif /* BOOST_PP_VARIADICS */
#endif /* BOOST_PREPROCESSOR_REMOVE_PARENS_HPP */

Version data entries

52 entries across 52 versions & 4 rubygems

Version Path
script_core-0.3.2 ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.8 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.7 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.6 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.5 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
script_core-0.2.1 ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/remove_parens.hpp
script_core-0.2.0 ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.4 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.3 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
script_core-0.1.1 ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/remove_parens.hpp
script_core-0.1.0 ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.2 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.1 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.0 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
script_core-0.0.5 ext/enterprise_script_service/msgpack/external/boost/preprocessor/include/boost/preprocessor/punctuation/remove_parens.hpp
passenger-5.3.7 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-5.3.6 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-5.3.5 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-5.3.4 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-5.3.3 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp