forked from boostorg/preprocessor
Added MOD and implemented ADD, SUB & MUL using WHILE reducing internal repetition
[SVN r12009]
This commit is contained in:
@ -25,5 +25,9 @@
|
||||
#endif
|
||||
|
||||
//! Expands to 1 if X<=Y and 0 otherwise.
|
||||
#define BOOST_PREPROCESSOR_LESS_EQUAL(X,Y) BOOST_PREPROCESSOR_NOT(BOOST_PREPROCESSOR_SUB(X,Y))
|
||||
#define BOOST_PREPROCESSOR_LESS_EQUAL(X,Y) BOOST_PREPROCESSOR_LESS_EQUAL_I(0,X,Y)
|
||||
|
||||
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
||||
#define BOOST_PREPROCESSOR_LESS_EQUAL_I(I,X,Y) BOOST_PREPROCESSOR_NOT(BOOST_PREPROCESSOR_SUB_I(I,X,Y))
|
||||
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user