1<html> 2 <head> 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"> 6 </head> 7 <body> 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> 11 <h4>Usage</h4> 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> 18 <h4>Remarks</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 22 input.<br> 23 </div> 24 <h4>See Also</h4> 25 <ul> 26 <li><a href="is_begin_parens.html">BOOST_PP_IS_BEGIN_PARENS</a></li> 27 </ul> 28 <h4>Requirements</h4> 29 <div> <b>Header:</b> <a href="../headers/punctuation/remove_parens.html"><boost/preprocessor/punctuation/remove_parens.hpp></a> 30 </div> 31 <h4>Sample Code</h4> 32 <div> 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' 34BOOST_PP_REMOVE_PARENS(DATAP) // expands to 'data more_data'<br> 35</pre></div> 36 <hr size="1"> 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> 42 </div> 43 </body> 44</html> 45