Added requirements on numeric parameters

[SVN r13460]
This commit is contained in:
Vesa Karvonen
2002-04-12 12:16:05 +00:00
parent 06ff87a86c
commit 336749e0ae
46 changed files with 106 additions and 20 deletions

View File

@ -29,6 +29,8 @@
<h2><a name="BOOST_PP_BOOL">#define BOOST_PP_BOOL</a>(X)</h2>
<p>Expands to <code>0</code> if <code>X == 0</code> and <code>1</code> if <code>X != 0</code>.</p>
<p><code>X</code> must be 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="logical_bool.htm#BOOST_PP_BOOL">BOOST_PP_BOOL</a>(3)</code> expands to <code>1</code>.</p>
<hr>