3 <meta content=
"text/html; charset=windows-1252" http-equiv=
"content-type">
4 <title>BOOST_PP_REMOVE_PARENS
</title>
5 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
8 <div style=
"margin-left: 0px;"> The
<b>BOOST_PP_REMOVE_PAREN
</b>S macro
9 removes the beginning parenthesis, if it exists, from the input data and
10 expands to the result
</div>
12 <div class=
"code"> <b>BOOST_PP_REMOVE_PARENS
</b>(param)
<a href=
"../topics/variadic_macros.html#VNotation"
13 target=
"_self"><sup>(v)
</sup></a></div>
14 <h4>Arguments
<span style=
"font-weight: normal;"></span></h4>
15 <h4><span style=
"font-weight: normal;"> param
</span>
16 <span style=
"font-weight: normal;">
17 The input data.
</span></h4>
19 <div> If the input begins with a parenthesis, with any data within that
20 parenthesis, the macro removes the parenthesis and expands to the result.
21 If the input does not begin with a parenthesis the macro expands to the
26 <li><a href=
"is_begin_parens.html">BOOST_PP_IS_BEGIN_PARENS
</a></li>
29 <div> <b>Header:
</b> <a href=
"../headers/punctuation/remove_parens.html"><boost/preprocessor/punctuation/remove_parens.hpp
></a>
33 <pre>#include
<<a href=
"../headers/punctuation/remove_parens.html">boost/preprocessor/punctuation/remove_parens.hpp
</a>><br><br>#define DATA data
<br>#define DATAP ( data ) more_data
<br><br>BOOST_PP_REMOVE_PARENS(DATA) // expands to 'data'
34 BOOST_PP_REMOVE_PARENS(DATAP) // expands to 'data more_data'
<br>
37 <div style=
"margin-left: 0px;"> <i>© Copyright Edward Diener
2014</i> </div>
38 <div style=
"margin-left: 0px;">
39 <p><small>Distributed under the Boost Software License, Version
1.0. (See
40 accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a>
41 or copy at
<a href=
"http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>