Sha256: 7e5c87e6b20ea84811f9881695e811055948765df8ebe290ac46de176794a2ce

Contents?: true

Size: 1.27 KB

Versions: 16

Compression:

Stored size: 1.27 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>
#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_PREPROCESSOR_REMOVE_PARENS_HPP */

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
passenger-6.0.26 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.25 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.24 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.23 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.20 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.19 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.18 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.17 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.16 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.15 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.14 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.13 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.12 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.11 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.10 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp
passenger-6.0.9 src/cxx_supportlib/vendor-modified/boost/preprocessor/punctuation/remove_parens.hpp