forked from boostorg/preprocessor
Added requirements on numeric parameters
[SVN r13460]
This commit is contained in:
@ -29,6 +29,9 @@
|
||||
<h2><a name="BOOST_PP_MOD">#define BOOST_PP_MOD</a>(X,Y)</h2>
|
||||
<p>Expands to the remainder of <code>X</code> and <code>Y</code>.</p>
|
||||
|
||||
<p>Both <code>X</code> and <code>Y</code> must expand to integer literals
|
||||
in the range [0, <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>].</p>
|
||||
|
||||
<p>For example, <code><a href="arithmetic_mod.htm#BOOST_PP_MOD">BOOST_PP_MOD</a>(4,3)</code> expands to <code>1</code> (a
|
||||
single token).</p>
|
||||
|
||||
|
Reference in New Issue
Block a user