forked from boostorg/preprocessor
PREPROCESSOR -> PP. WHILE documented.
[SVN r12162]
This commit is contained in:
@ -17,17 +17,16 @@
|
||||
<a href="../../../../boost/preprocessor/comparison/less_equal.hpp">Click here to see the header.</a>
|
||||
*/
|
||||
|
||||
#ifndef BOOST_PREPROCESSOR_ARITHMETIC_SUB_HPP
|
||||
# include <boost/preprocessor/arithmetic/sub.hpp>
|
||||
#endif
|
||||
#ifndef BOOST_PREPROCESSOR_LOGICAL_NOT_HPP
|
||||
# include <boost/preprocessor/logical/not.hpp>
|
||||
#endif
|
||||
#include <boost/preprocessor/arithmetic/sub.hpp>
|
||||
#include <boost/preprocessor/logical/not.hpp>
|
||||
|
||||
//! Expands to 1 if X<=Y and 0 otherwise.
|
||||
#define BOOST_PREPROCESSOR_LESS_EQUAL(X,Y) BOOST_PREPROCESSOR_LESS_EQUAL_I(0,X,Y)
|
||||
#define BOOST_PP_LESS_EQUAL(X,Y) BOOST_PP_LESS_EQUAL_D(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 */
|
||||
#define BOOST_PP_LESS_EQUAL_D(D,X,Y) BOOST_PP_NOT(BOOST_PP_SUB_D(D,X,Y))
|
||||
#endif
|
||||
|
||||
//! Obsolete. Use BOOST_PP_LESS_EQUAL().
|
||||
#define BOOST_PREPROCESSOR_LESS_EQUAL(X,Y) BOOST_PP_LESS_EQUAL(X,Y)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user