Added ???_R and ???_D macros to reference

[SVN r12910]
This commit is contained in:
Vesa Karvonen
2002-02-23 10:50:32 +00:00
parent dba7ae68c7
commit 5fa1ddda5a
60 changed files with 173 additions and 3 deletions

View File

@ -31,6 +31,7 @@ otherwise.</p>
*/
#define BOOST_PP_EQUAL(X,Y) BOOST_PP_EQUAL_D(0,X,Y)
/** <p>Can be used inside BOOST_PP_WHILE().</p> */
#define BOOST_PP_EQUAL_D(D,X,Y) BOOST_PP_NOT(BOOST_PP_NOT_EQUAL_D(D,X,Y))
/** <p>Obsolete. Use BOOST_PP_EQUAL().</p> */

View File

@ -30,6 +30,7 @@ otherwise.</p>
*/
#define BOOST_PP_GREATER(X,Y) BOOST_PP_GREATER_D(0,X,Y)
/** <p>Can be used inside BOOST_PP_WHILE().</p> */
#define BOOST_PP_GREATER_D(D,X,Y) BOOST_PP_LESS_D(D,Y,X)
/** <p>Obsolete. Use BOOST_PP_GREATER().</p> */

View File

@ -30,6 +30,7 @@ otherwise.</p>
*/
#define BOOST_PP_GREATER_EQUAL(X,Y) BOOST_PP_GREATER_EQUAL_D(0,X,Y)
/** <p>Can be used inside BOOST_PP_WHILE().</p> */
#define BOOST_PP_GREATER_EQUAL_D(D,X,Y) BOOST_PP_LESS_EQUAL_D(D,Y,X)
/** <p>Obsolete. Use BOOST_PP_GREATER_EQUAL().</p> */

View File

@ -32,6 +32,7 @@ otherwise.</p>
*/
#define BOOST_PP_LESS(X,Y) BOOST_PP_LESS_D(0,X,Y)
/** <p>Can be used inside BOOST_PP_WHILE().</p> */
#define BOOST_PP_LESS_D(D,X,Y) BOOST_PP_AND(BOOST_PP_NOT_EQUAL_D(D,X,Y),BOOST_PP_LESS_EQUAL_D(D,X,Y))
/** <p>Obsolete. Use BOOST_PP_LESS().</p> */

View File

@ -31,6 +31,7 @@ otherwise.</p>
*/
#define BOOST_PP_LESS_EQUAL(X,Y) BOOST_PP_LESS_EQUAL_D(0,X,Y)
/** <p>Can be used inside BOOST_PP_WHILE().</p> */
#define BOOST_PP_LESS_EQUAL_D(D,X,Y) BOOST_PP_NOT(BOOST_PP_SUB_D(D,X,Y))
/** <p>Obsolete. Use BOOST_PP_LESS_EQUAL().</p> */

View File

@ -32,6 +32,7 @@ otherwise.</p>
*/
#define BOOST_PP_NOT_EQUAL(X,Y) BOOST_PP_NOT_EQUAL_D(0,X,Y)
/** <p>Can be used inside BOOST_PP_WHILE().</p> */
#define BOOST_PP_NOT_EQUAL_D(D,X,Y) BOOST_PP_BOOL(BOOST_PP_ADD_D(D,BOOST_PP_SUB_D(D,X,Y),BOOST_PP_SUB_D(D,Y,X)))
/** <p>Obsolete. Use BOOST_PP_NOT_EQUAL().</p> */