mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-07-13 12:36:45 +02:00
Added MOD
[SVN r12010]
This commit is contained in:
@ -309,7 +309,7 @@ RECURSIVE = YES
|
|||||||
# excluded from the INPUT source files. This way you can easily exclude a
|
# excluded from the INPUT source files. This way you can easily exclude a
|
||||||
# subdirectory from a directory tree whose root is specified with the INPUT tag.
|
# subdirectory from a directory tree whose root is specified with the INPUT tag.
|
||||||
|
|
||||||
EXCLUDE =
|
EXCLUDE = detail
|
||||||
|
|
||||||
# If the value of the INPUT tag contains directories, you can use the
|
# If the value of the INPUT tag contains directories, you can use the
|
||||||
# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
|
# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
|
||||||
@ -420,7 +420,7 @@ GENERATE_HTML = YES
|
|||||||
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
|
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
|
||||||
# put in front of it. If left blank `html' will be used as the default path.
|
# put in front of it. If left blank `html' will be used as the default path.
|
||||||
|
|
||||||
HTML_OUTPUT = "reference"
|
HTML_OUTPUT = reference
|
||||||
|
|
||||||
# The HTML_HEADER tag can be used to specify a personal HTML header for
|
# The HTML_HEADER tag can be used to specify a personal HTML header for
|
||||||
# each generated HTML page. If it is left blank doxygen will generate a
|
# each generated HTML page. If it is left blank doxygen will generate a
|
||||||
|
@ -25,6 +25,7 @@ BOOST_PREPROCESSOR_LIMIT_MAG
|
|||||||
BOOST_PREPROCESSOR_LIMIT_TUPLE
|
BOOST_PREPROCESSOR_LIMIT_TUPLE
|
||||||
BOOST_PREPROCESSOR_MAX
|
BOOST_PREPROCESSOR_MAX
|
||||||
BOOST_PREPROCESSOR_MIN
|
BOOST_PREPROCESSOR_MIN
|
||||||
|
BOOST_PREPROCESSOR_MOD
|
||||||
BOOST_PREPROCESSOR_MUL
|
BOOST_PREPROCESSOR_MUL
|
||||||
BOOST_PREPROCESSOR_NOR
|
BOOST_PREPROCESSOR_NOR
|
||||||
BOOST_PREPROCESSOR_NOT
|
BOOST_PREPROCESSOR_NOT
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
<tr bgcolor="#f0f0f0"><td><a class="el" href="logical_8hpp.html">logical.hpp</a></td><td></td></tr>
|
<tr bgcolor="#f0f0f0"><td><a class="el" href="logical_8hpp.html">logical.hpp</a></td><td></td></tr>
|
||||||
<tr bgcolor="#f0f0f0"><td><a class="el" href="max_8hpp.html">max.hpp</a></td><td></td></tr>
|
<tr bgcolor="#f0f0f0"><td><a class="el" href="max_8hpp.html">max.hpp</a></td><td></td></tr>
|
||||||
<tr bgcolor="#f0f0f0"><td><a class="el" href="min_8hpp.html">min.hpp</a></td><td></td></tr>
|
<tr bgcolor="#f0f0f0"><td><a class="el" href="min_8hpp.html">min.hpp</a></td><td></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td><a class="el" href="mod_8hpp.html">mod.hpp</a></td><td></td></tr>
|
||||||
<tr bgcolor="#f0f0f0"><td><a class="el" href="mul_8hpp.html">mul.hpp</a></td><td></td></tr>
|
<tr bgcolor="#f0f0f0"><td><a class="el" href="mul_8hpp.html">mul.hpp</a></td><td></td></tr>
|
||||||
<tr bgcolor="#f0f0f0"><td><a class="el" href="nor_8hpp.html">nor.hpp</a></td><td></td></tr>
|
<tr bgcolor="#f0f0f0"><td><a class="el" href="nor_8hpp.html">nor.hpp</a></td><td></td></tr>
|
||||||
<tr bgcolor="#f0f0f0"><td><a class="el" href="not_8hpp.html">not.hpp</a></td><td></td></tr>
|
<tr bgcolor="#f0f0f0"><td><a class="el" href="not_8hpp.html">not.hpp</a></td><td></td></tr>
|
||||||
|
@ -34,7 +34,8 @@
|
|||||||
: <a class="el" href="limits_8hpp.html#a1">limits.hpp</a><li>BOOST_PREPROCESSOR_LIMIT_TUPLE
|
: <a class="el" href="limits_8hpp.html#a1">limits.hpp</a><li>BOOST_PREPROCESSOR_LIMIT_TUPLE
|
||||||
: <a class="el" href="limits_8hpp.html#a2">limits.hpp</a><li>BOOST_PREPROCESSOR_MAX
|
: <a class="el" href="limits_8hpp.html#a2">limits.hpp</a><li>BOOST_PREPROCESSOR_MAX
|
||||||
: <a class="el" href="max_8hpp.html#a0">max.hpp</a><li>BOOST_PREPROCESSOR_MIN
|
: <a class="el" href="max_8hpp.html#a0">max.hpp</a><li>BOOST_PREPROCESSOR_MIN
|
||||||
: <a class="el" href="min_8hpp.html#a0">min.hpp</a><li>BOOST_PREPROCESSOR_MUL
|
: <a class="el" href="min_8hpp.html#a0">min.hpp</a><li>BOOST_PREPROCESSOR_MOD
|
||||||
|
: <a class="el" href="mod_8hpp.html#a0">mod.hpp</a><li>BOOST_PREPROCESSOR_MUL
|
||||||
: <a class="el" href="mul_8hpp.html#a0">mul.hpp</a><li>BOOST_PREPROCESSOR_NOR
|
: <a class="el" href="mul_8hpp.html#a0">mul.hpp</a><li>BOOST_PREPROCESSOR_NOR
|
||||||
: <a class="el" href="nor_8hpp.html#a0">nor.hpp</a><li>BOOST_PREPROCESSOR_NOT
|
: <a class="el" href="nor_8hpp.html#a0">nor.hpp</a><li>BOOST_PREPROCESSOR_NOT
|
||||||
: <a class="el" href="not_8hpp.html#a0">not.hpp</a><li>BOOST_PREPROCESSOR_NOT_EQUAL
|
: <a class="el" href="not_8hpp.html#a0">not.hpp</a><li>BOOST_PREPROCESSOR_NOT_EQUAL
|
||||||
|
57
doc/reference/mod_8hpp.html
Normal file
57
doc/reference/mod_8hpp.html
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
<a href="../index.htm"><IMG height=86
|
||||||
|
alt="c++boost.gif (8819 bytes)"
|
||||||
|
src="../../../../c++boost.gif"
|
||||||
|
width=277 align=center></a>
|
||||||
|
<hr>
|
||||||
|
<!-- Generated by Doxygen 1.2.12 -->
|
||||||
|
<center>
|
||||||
|
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="globals.html">File Members</a> </center>
|
||||||
|
<hr><h1>mod.hpp File Reference</h1><table border=0 cellpadding=0 cellspacing=0>
|
||||||
|
<tr><td colspan=2><br><h2>Defines</h2></td></tr>
|
||||||
|
<tr><td nowrap align=right valign=top>#define </td><td valign=bottom><a class="el" href="mod_8hpp.html#a0">BOOST_PREPROCESSOR_MOD</a>(X, Y)</td></tr>
|
||||||
|
<tr><td> </td><td><font size=-1><em>Expands to the remainder of X and Y.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
|
||||||
|
</table>
|
||||||
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||||
|
<a href="../../../../boost/preprocessor/arithmetic/mod.hpp">Click here to see the header.</a>
|
||||||
|
<p>
|
||||||
|
<hr><h2>Define Documentation</h2>
|
||||||
|
<a name="a0" doxytag="mod.hpp::BOOST_PREPROCESSOR_MOD"></a><p>
|
||||||
|
<table width="100%" cellpadding="2" cellspacing="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td class="md">
|
||||||
|
<table cellpadding="0" cellspacing="0" border="0">
|
||||||
|
<tr>
|
||||||
|
<td class="md" nowrap valign="top"> #define BOOST_PREPROCESSOR_MOD</td>
|
||||||
|
<td class="md" valign="top">( </td>
|
||||||
|
<td class="md" nowrap valign="top">X, <tr>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="md" nowrap>Y </td>
|
||||||
|
<td class="mdname1" valign="top" nowrap> </td>
|
||||||
|
<td class="md" valign="top">) </td>
|
||||||
|
<td class="md" nowrap>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<table cellspacing=5 cellpadding=0 border=0>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Expands to the remainder of X and Y.
|
||||||
|
<p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<hr>
|
||||||
|
<p><EFBFBD> Copyright Housemarque Oy 2001</p>
|
||||||
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
||||||
|
provided this copyright notice appears in all copies. This document is provided
|
||||||
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
||||||
|
for any purpose. </p>
|
||||||
|
|
||||||
|
<p>Generated: <!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %b %Y" startspan --><!--webbot bot="Timestamp" endspan i-checksum="15246" --></p>
|
@ -47,6 +47,8 @@
|
|||||||
<p>
|
<p>
|
||||||
CURRENTLY THIS FEATURE IS FOR INTERNAL USE ONLY!
|
CURRENTLY THIS FEATURE IS FOR INTERNAL USE ONLY!
|
||||||
<p>
|
<p>
|
||||||
|
RATIONALE:<ul>
|
||||||
|
<li>The maximum iteration depth is 2*BOOST_PREPROCESSOR_LIMIT_MAG+1 to make it theoretically possible to compute BOOST_PREPROCESSOR_LIMIT_MAG^2. </ul>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -162,6 +162,12 @@ int test_arithmetic_32[0+(BOOST_PREPROCESSOR_MIN(1,2)==1)];
|
|||||||
int test_arithmetic_33[0+(BOOST_PREPROCESSOR_MAX(3,2)==3)];
|
int test_arithmetic_33[0+(BOOST_PREPROCESSOR_MAX(3,2)==3)];
|
||||||
int test_arithmetic_34[0+(BOOST_PREPROCESSOR_MAX(4,5)==5)];
|
int test_arithmetic_34[0+(BOOST_PREPROCESSOR_MAX(4,5)==5)];
|
||||||
|
|
||||||
|
int test_arithmetic_35[0+(BOOST_PREPROCESSOR_MUL(50,50)==BOOST_PREPROCESSOR_LIMIT_MAG)];
|
||||||
|
|
||||||
|
int test_arithmetic_36[0+(BOOST_PREPROCESSOR_MOD(50,50)==0)];
|
||||||
|
int test_arithmetic_37[0+(BOOST_PREPROCESSOR_MOD(34,5)==4)];
|
||||||
|
int test_arithmetic_38[0+(BOOST_PREPROCESSOR_MOD(31,4)==3)];
|
||||||
|
|
||||||
// ***
|
// ***
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Reference in New Issue
Block a user