mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-07-15 13:36:33 +02:00
Tweaking docs
[SVN r12602]
This commit is contained in:
@ -13,22 +13,19 @@
|
||||
* See http://www.boost.org for most recent version.
|
||||
*/
|
||||
|
||||
/** \file
|
||||
|
||||
<a href="../../../../boost/preprocessor/arithmetic/add.hpp">Click here to see the header.</a>
|
||||
*/
|
||||
|
||||
#include <boost/preprocessor/dec.hpp>
|
||||
#include <boost/preprocessor/inc.hpp>
|
||||
#include <boost/preprocessor/tuple/elem.hpp>
|
||||
#include <boost/preprocessor/while.hpp>
|
||||
|
||||
/** Expands to the sum of X and Y.
|
||||
/** <P>Expands to the sum of X and Y.</P>
|
||||
|
||||
For example, BOOST_PP_ADD(4,3) expands to 7 (a single token).
|
||||
<P>For example, BOOST_PP_ADD(4,3) expands to 7 (a single token).</P>
|
||||
|
||||
<H3>Uses</H3>
|
||||
- BOOST_PP_WHILE()
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
*/
|
||||
#define BOOST_PP_ADD(X,Y) BOOST_PP_ADD_D(0,X,Y)
|
||||
|
||||
|
@ -13,20 +13,17 @@
|
||||
* See http://www.boost.org for most recent version.
|
||||
*/
|
||||
|
||||
/** \file
|
||||
|
||||
<a href="../../../../boost/preprocessor/arithmetic/div.hpp">Click here to see the header.</a>
|
||||
*/
|
||||
|
||||
#include <boost/preprocessor/comparison/less_equal.hpp>
|
||||
#include <boost/preprocessor/inc.hpp>
|
||||
|
||||
/** Expands to the quotient of X and Y.
|
||||
/** <P>Expands to the quotient of X and Y.</P>
|
||||
|
||||
For example, BOOST_PP_DIV(4,3) expands to 1 (a single token).
|
||||
<P>For example, BOOST_PP_DIV(4,3) expands to 1 (a single token).</P>
|
||||
|
||||
<H3>Uses</H3>
|
||||
- BOOST_PP_WHILE()
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
*/
|
||||
#define BOOST_PP_DIV(X,Y) BOOST_PP_DIV_D(0,X,Y)
|
||||
|
||||
|
@ -13,19 +13,16 @@
|
||||
* See http://www.boost.org for most recent version.
|
||||
*/
|
||||
|
||||
/** \file
|
||||
|
||||
<a href="../../../../boost/preprocessor/arithmetic/mod.hpp">Click here to see the header.</a>
|
||||
*/
|
||||
|
||||
#include <boost/preprocessor/comparison/less_equal.hpp>
|
||||
|
||||
/** Expands to the remainder of X and Y.
|
||||
/** <P>Expands to the remainder of X and Y.</P>
|
||||
|
||||
For example, BOOST_PP_MOD(4,3) expands to 1 (a single token).
|
||||
<P>For example, BOOST_PP_MOD(4,3) expands to 1 (a single token).</P>
|
||||
|
||||
<H3>Uses</H3>
|
||||
- BOOST_PP_WHILE()
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
*/
|
||||
#define BOOST_PP_MOD(X,Y) BOOST_PP_MOD_D(0,X,Y)
|
||||
|
||||
|
@ -13,19 +13,16 @@
|
||||
* See http://www.boost.org for most recent version.
|
||||
*/
|
||||
|
||||
/** \file
|
||||
|
||||
<a href="../../../../boost/preprocessor/arithmetic/mul.hpp">Click here to see the header.</a>
|
||||
*/
|
||||
|
||||
#include <boost/preprocessor/arithmetic/add.hpp>
|
||||
|
||||
/** Expands to the product of X and Y.
|
||||
/** <P>Expands to the product of X and Y.</P>
|
||||
|
||||
For example, BOOST_PP_MUL(4,3) expands to 12 (a single token).
|
||||
<P>For example, BOOST_PP_MUL(4,3) expands to 12 (a single token).</P>
|
||||
|
||||
<H3>Uses</H3>
|
||||
- BOOST_PP_WHILE()
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
*/
|
||||
#define BOOST_PP_MUL(X,Y) BOOST_PP_MUL_D(0,X,Y)
|
||||
|
||||
|
@ -13,21 +13,18 @@
|
||||
* See http://www.boost.org for most recent version.
|
||||
*/
|
||||
|
||||
/** \file
|
||||
|
||||
<a href="../../../../boost/preprocessor/arithmetic/sub.hpp">Click here to see the header.</a>
|
||||
*/
|
||||
|
||||
#include <boost/preprocessor/dec.hpp>
|
||||
#include <boost/preprocessor/tuple/elem.hpp>
|
||||
#include <boost/preprocessor/while.hpp>
|
||||
|
||||
/** Expands to the difference of X and Y.
|
||||
/** <P>Expands to the difference of X and Y.</P>
|
||||
|
||||
For example, BOOST_PP_SUB(4,3) expands to 1 (a single token).
|
||||
<P>For example, BOOST_PP_SUB(4,3) expands to 1 (a single token).</P>
|
||||
|
||||
<H3>Uses</H3>
|
||||
- BOOST_PP_WHILE()
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
*/
|
||||
#define BOOST_PP_SUB(X,Y) BOOST_PP_SUB_D(0,X,Y)
|
||||
|
||||
|
@ -13,18 +13,15 @@
|
||||
* See http://www.boost.org for most recent version.
|
||||
*/
|
||||
|
||||
/** \file
|
||||
|
||||
<a href="../../../../boost/preprocessor/comparison/equal.hpp">Click here to see the header.</a>
|
||||
*/
|
||||
|
||||
#include <boost/preprocessor/comparison/not_equal.hpp>
|
||||
#include <boost/preprocessor/logical/not.hpp>
|
||||
|
||||
/** Expands to 1 if X==Y and 0 otherwise.
|
||||
/** <P>Expands to 1 if X==Y and 0 otherwise.</P>
|
||||
|
||||
<H3>Uses</H3>
|
||||
- BOOST_PP_WHILE()
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
*/
|
||||
#define BOOST_PP_EQUAL(X,Y) BOOST_PP_EQUAL_D(0,X,Y)
|
||||
|
||||
|
@ -13,17 +13,14 @@
|
||||
* See http://www.boost.org for most recent version.
|
||||
*/
|
||||
|
||||
/** \file
|
||||
|
||||
<a href="../../../../boost/preprocessor/comparison/greater.hpp">Click here to see the header.</a>
|
||||
*/
|
||||
|
||||
#include <boost/preprocessor/comparison/less.hpp>
|
||||
|
||||
/** Expands to 1 if X>Y and 0 otherwise.
|
||||
/** <P>Expands to 1 if X>Y and 0 otherwise.</P>
|
||||
|
||||
<H3>Uses</H3>
|
||||
- BOOST_PP_WHILE()
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
*/
|
||||
#define BOOST_PP_GREATER(X,Y) BOOST_PP_GREATER_D(0,X,Y)
|
||||
|
||||
|
@ -13,17 +13,14 @@
|
||||
* See http://www.boost.org for most recent version.
|
||||
*/
|
||||
|
||||
/** \file
|
||||
|
||||
<a href="../../../../boost/preprocessor/comparison/greater_equal.hpp">Click here to see the header.</a>
|
||||
*/
|
||||
|
||||
#include <boost/preprocessor/comparison/less_equal.hpp>
|
||||
|
||||
/** Expands to 1 if X>=Y and 0 otherwise.
|
||||
/** <P>Expands to 1 if X>=Y and 0 otherwise.</P>
|
||||
|
||||
<H3>Uses</H3>
|
||||
- BOOST_PP_WHILE()
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
*/
|
||||
#define BOOST_PP_GREATER_EQUAL(X,Y) BOOST_PP_GREATER_EQUAL_D(0,X,Y)
|
||||
|
||||
|
@ -13,19 +13,16 @@
|
||||
* See http://www.boost.org for most recent version.
|
||||
*/
|
||||
|
||||
/** \file
|
||||
|
||||
<a href="../../../../boost/preprocessor/comparison/less.hpp">Click here to see the header.</a>
|
||||
*/
|
||||
|
||||
#include <boost/preprocessor/comparison/less_equal.hpp>
|
||||
#include <boost/preprocessor/comparison/not_equal.hpp>
|
||||
#include <boost/preprocessor/logical/and.hpp>
|
||||
|
||||
/** Expands to 1 if X<Y and 0 otherwise.
|
||||
/** <P>Expands to 1 if X<Y and 0 otherwise.</P>
|
||||
|
||||
<H3>Uses</H3>
|
||||
- BOOST_PP_WHILE()
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
*/
|
||||
#define BOOST_PP_LESS(X,Y) BOOST_PP_LESS_D(0,X,Y)
|
||||
|
||||
|
@ -13,18 +13,15 @@
|
||||
* See http://www.boost.org for most recent version.
|
||||
*/
|
||||
|
||||
/** \file
|
||||
|
||||
<a href="../../../../boost/preprocessor/comparison/less_equal.hpp">Click here to see the header.</a>
|
||||
*/
|
||||
|
||||
#include <boost/preprocessor/arithmetic/sub.hpp>
|
||||
#include <boost/preprocessor/logical/not.hpp>
|
||||
|
||||
/** Expands to 1 if X<=Y and 0 otherwise.
|
||||
/** <P>Expands to 1 if X<=Y and 0 otherwise.</P>
|
||||
|
||||
<H3>Uses</H3>
|
||||
- BOOST_PP_WHILE()
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
*/
|
||||
#define BOOST_PP_LESS_EQUAL(X,Y) BOOST_PP_LESS_EQUAL_D(0,X,Y)
|
||||
|
||||
|
@ -13,19 +13,16 @@
|
||||
* See http://www.boost.org for most recent version.
|
||||
*/
|
||||
|
||||
/** \file
|
||||
|
||||
<a href="../../../../boost/preprocessor/comparison/not_equal.hpp">Click here to see the header.</a>
|
||||
*/
|
||||
|
||||
#include <boost/preprocessor/arithmetic/add.hpp>
|
||||
#include <boost/preprocessor/arithmetic/sub.hpp>
|
||||
#include <boost/preprocessor/logical/bool.hpp>
|
||||
|
||||
/** Expands to 1 if X!=Y and 0 otherwise.
|
||||
/** <P>Expands to 1 if X!=Y and 0 otherwise.</P>
|
||||
|
||||
<H3>Uses</H3>
|
||||
- BOOST_PP_WHILE()
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
*/
|
||||
#define BOOST_PP_NOT_EQUAL(X,Y) BOOST_PP_NOT_EQUAL_D(0,X,Y)
|
||||
|
||||
|
Reference in New Issue
Block a user