# /* ************************************************************************** # * * # * (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 ACTIV_BOOST_PREPROCESSOR_REMOVE_PARENS_HPP #define ACTIV_BOOST_PREPROCESSOR_REMOVE_PARENS_HPP #include #include #include #include #include #define ACTIV_BOOST_PP_REMOVE_PARENS(param) \ ACTIV_BOOST_PP_IIF \ ( \ ACTIV_BOOST_PP_IS_BEGIN_PARENS(param), \ ACTIV_BOOST_PP_REMOVE_PARENS_DO, \ ACTIV_BOOST_PP_IDENTITY \ ) \ (param)() \ /**/ #define ACTIV_BOOST_PP_REMOVE_PARENS_DO(param) \ ACTIV_BOOST_PP_IDENTITY(ACTIV_BOOST_PP_TUPLE_ENUM(param)) \ /**/ #endif /* ACTIV_BOOST_PREPROCESSOR_REMOVE_PARENS_HPP */