forked from boostorg/preprocessor
Updated docs
[SVN r12687]
This commit is contained in:
@ -18,14 +18,15 @@
|
||||
#include <boost/preprocessor/tuple/elem.hpp>
|
||||
#include <boost/preprocessor/while.hpp>
|
||||
|
||||
/** <P>Expands to the sum of X and Y.</P>
|
||||
/** <p>Expands to the sum of <code>X</code> and <code>Y</code>.</p>
|
||||
|
||||
<P>For example, BOOST_PP_ADD(4,3) expands to 7 (a single token).</P>
|
||||
<p>For example, <code>BOOST_PP_ADD(4,3)</code> expands to <code>7</code> (a
|
||||
single token).</p>
|
||||
|
||||
<H3>Uses</H3>
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
<h3>Uses</h3>
|
||||
<ul>
|
||||
<li>BOOST_PP_WHILE()</li>
|
||||
</ul>
|
||||
*/
|
||||
#define BOOST_PP_ADD(X,Y) BOOST_PP_ADD_D(0,X,Y)
|
||||
|
||||
@ -40,6 +41,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/** <P>Obsolete. Use BOOST_PP_ADD().</P> */
|
||||
/** <p>Obsolete. Use BOOST_PP_ADD().</p> */
|
||||
#define BOOST_PREPROCESSOR_ADD(X,Y) BOOST_PP_ADD(X,Y)
|
||||
#endif
|
||||
|
@ -16,14 +16,15 @@
|
||||
#include <boost/preprocessor/comparison/less_equal.hpp>
|
||||
#include <boost/preprocessor/inc.hpp>
|
||||
|
||||
/** <P>Expands to the quotient of X and Y.</P>
|
||||
/** <p>Expands to the quotient of <code>X</code> and <code>Y</code>.</p>
|
||||
|
||||
<P>For example, BOOST_PP_DIV(4,3) expands to 1 (a single token).</P>
|
||||
<p>For example, <code>BOOST_PP_DIV(4,3)</code> expands to <code>1</code> (a
|
||||
single token).</p>
|
||||
|
||||
<H3>Uses</H3>
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
<h3>Uses</h3>
|
||||
<ul>
|
||||
<li>BOOST_PP_WHILE()</li>
|
||||
</ul>
|
||||
*/
|
||||
#define BOOST_PP_DIV(X,Y) BOOST_PP_DIV_D(0,X,Y)
|
||||
|
||||
@ -38,6 +39,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/** <P>Obsolete. Use BOOST_PP_DIV().</P> */
|
||||
/** <p>Obsolete. Use BOOST_PP_DIV().</p> */
|
||||
#define BOOST_PREPROCESSOR_DIV(X,Y) BOOST_PP_DIV(X,Y)
|
||||
#endif
|
||||
|
@ -15,14 +15,15 @@
|
||||
|
||||
#include <boost/preprocessor/comparison/less_equal.hpp>
|
||||
|
||||
/** <P>Expands to the remainder of X and Y.</P>
|
||||
/** <p>Expands to the remainder of <code>X</code> and <code>Y</code>.</p>
|
||||
|
||||
<P>For example, BOOST_PP_MOD(4,3) expands to 1 (a single token).</P>
|
||||
<p>For example, <code>BOOST_PP_MOD(4,3)</code> expands to <code>1</code> (a
|
||||
single token).</p>
|
||||
|
||||
<H3>Uses</H3>
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
<h3>Uses</h3>
|
||||
<ul>
|
||||
<li>BOOST_PP_WHILE()</li>
|
||||
</ul>
|
||||
*/
|
||||
#define BOOST_PP_MOD(X,Y) BOOST_PP_MOD_D(0,X,Y)
|
||||
|
||||
@ -32,6 +33,6 @@
|
||||
#define BOOST_PP_MOD_F(D,P) (BOOST_PP_SUB_D(D,BOOST_PP_TUPLE2_ELEM0 P,BOOST_PP_TUPLE2_ELEM1 P),BOOST_PP_TUPLE2_ELEM1 P)
|
||||
#endif
|
||||
|
||||
/** <P>Obsolete. Use BOOST_PP_MOD().</P> */
|
||||
/** <p>Obsolete. Use BOOST_PP_MOD().</p> */
|
||||
#define BOOST_PREPROCESSOR_MOD(X,Y) BOOST_PP_MOD(X,Y)
|
||||
#endif
|
||||
|
@ -15,14 +15,15 @@
|
||||
|
||||
#include <boost/preprocessor/arithmetic/add.hpp>
|
||||
|
||||
/** <P>Expands to the product of X and Y.</P>
|
||||
/** <p>Expands to the product of <code>X</code> and <code>Y</code>.</p>
|
||||
|
||||
<P>For example, BOOST_PP_MUL(4,3) expands to 12 (a single token).</P>
|
||||
<p>For example, <code>BOOST_PP_MUL(4,3)</code> expands to <code>12</code> (a
|
||||
single token).</p>
|
||||
|
||||
<H3>Uses</H3>
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
<h3>Uses</h3>
|
||||
<ul>
|
||||
<li>BOOST_PP_WHILE()</li>
|
||||
</ul>
|
||||
*/
|
||||
#define BOOST_PP_MUL(X,Y) BOOST_PP_MUL_D(0,X,Y)
|
||||
|
||||
@ -37,6 +38,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/** <P>Obsolete. Use BOOST_PP_MUL().</P> */
|
||||
/** <p>Obsolete. Use BOOST_PP_MUL().</p> */
|
||||
#define BOOST_PREPROCESSOR_MUL(X,Y) BOOST_PP_MUL(X,Y)
|
||||
#endif
|
||||
|
@ -17,14 +17,15 @@
|
||||
#include <boost/preprocessor/tuple/elem.hpp>
|
||||
#include <boost/preprocessor/while.hpp>
|
||||
|
||||
/** <P>Expands to the difference of X and Y.</P>
|
||||
/** <p>Expands to the difference of <code>X</code> and <code>Y</code>.</p>
|
||||
|
||||
<P>For example, BOOST_PP_SUB(4,3) expands to 1 (a single token).</P>
|
||||
<p>For example, <code>BOOST_PP_SUB(4,3)</code> expands to <code>1</code> (a
|
||||
single token).</p>
|
||||
|
||||
<H3>Uses</H3>
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
<h3>Uses</h3>
|
||||
<ul>
|
||||
<li>BOOST_PP_WHILE()</li>
|
||||
</ul>
|
||||
*/
|
||||
#define BOOST_PP_SUB(X,Y) BOOST_PP_SUB_D(0,X,Y)
|
||||
|
||||
@ -39,6 +40,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/** <P>Obsolete. Use BOOST_PP_SUB(X,Y).</P> */
|
||||
/** <p>Obsolete. Use BOOST_PP_SUB(X,Y).</p> */
|
||||
#define BOOST_PREPROCESSOR_SUB(X,Y) BOOST_PP_SUB(X,Y)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user