forked from boostorg/preprocessor
Added requirements on numeric parameters
[SVN r13460]
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
<h2><a name="BOOST_PP_EXPR_IF">#define BOOST_PP_EXPR_IF</a>(COND,EXPR)</h2>
|
||||
<p>Expands to <code>EXPR</code> if <code>COND != 0</code> and to nothing if <code>COND == 0</code>.</p>
|
||||
|
||||
<p><code>COND</code> must expand to an integer literal.</p>
|
||||
<p><code>COND</code> must expand to an integer literal in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>].</p>
|
||||
|
||||
<p>For example, <code><a href="expr_if.htm#BOOST_PP_EXPR_IF">BOOST_PP_EXPR_IF</a>(1,^)</code> expands to <code>^</code>.</p>
|
||||
|
||||
|
Reference in New Issue
Block a user