File indexing completed on 2026-09-20 09:01:21
0001 #
0002
0003
0004
0005
0006
0007
0008
0009 0010 ">#
0011 #
0012 0013 ">#
0014 #ifndef BOOST_PREPROCESSOR_REMOVE_PARENS_HPP
0015 #define BOOST_PREPROCESSOR_REMOVE_PARENS_HPP
0016
0017 #include <boost/preprocessor/config/config.hpp>
0018 #include <boost/preprocessor/control/iif.hpp>
0019 #include <boost/preprocessor/facilities/identity.hpp>
0020 #include <boost/preprocessor/punctuation/is_begin_parens.hpp>
0021 #include <boost/preprocessor/tuple/enum.hpp>
0022
0023 #define BOOST_PP_REMOVE_PARENS(param) \
0024 BOOST_PP_IIF \
0025 ( \
0026 BOOST_PP_IS_BEGIN_PARENS(param), \
0027 BOOST_PP_REMOVE_PARENS_DO, \
0028 BOOST_PP_IDENTITY \
0029 ) \
0030 (param)() \
0031
0032
0033 #define BOOST_PP_REMOVE_PARENS_DO(param) \
0034 BOOST_PP_IDENTITY(BOOST_PP_TUPLE_ENUM(param)) \
0035
0036
0037 #endif