Compare commits

..

3 Commits

Author SHA1 Message Date
nobody 8018de965a This commit was manufactured by cvs2svn to create tag
'Version_1_30_2'.

[SVN r19685]
2003-08-18 18:40:31 +00:00
Paul Mensonides 28ed1969c9 fixed result reversal
[SVN r17876]
2003-03-13 07:12:20 +00:00
nobody 4eac97c340 This commit was manufactured by cvs2svn to create branch 'RC_1_30_0'.
[SVN r17693]
2003-03-01 19:43:06 +00:00
6 changed files with 16 additions and 17 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
# define BOOST_PP_CONFIG_EDG() 0x0020
#
# ifndef BOOST_PP_CONFIG_FLAGS
# if defined(__SPIRIT_PP__) || defined(__MWERKS__) && __MWERKS__ >= 0x3200
# if defined(__SPIRIT_PP__)
# define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_STRICT())
# elif defined(__EDG__) || defined(__EDG_VERSION__)
# define BOOST_PP_CONFIG_FLAGS() (BOOST_PP_CONFIG_EDG() | BOOST_PP_CONFIG_STRICT())
+1 -2
View File
@@ -14,7 +14,6 @@
# define BOOST_PREPROCESSOR_SEQ_ELEM_HPP
#
# include <boost/preprocessor/config/config.hpp>
# include <boost/preprocessor/facilities/empty.hpp>
#
# /* BOOST_PP_SEQ_ELEM */
#
@@ -27,7 +26,7 @@
# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
# define BOOST_PP_SEQ_ELEM_I(i, seq) BOOST_PP_SEQ_ELEM_II((BOOST_PP_SEQ_ELEM_ ## i seq))
# define BOOST_PP_SEQ_ELEM_II(res) BOOST_PP_SEQ_ELEM_IV(BOOST_PP_SEQ_ELEM_III res)
# define BOOST_PP_SEQ_ELEM_III(x, _) x BOOST_PP_EMPTY()
# define BOOST_PP_SEQ_ELEM_III(x, _) x
# define BOOST_PP_SEQ_ELEM_IV(x) x
# elif BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
# define BOOST_PP_SEQ_ELEM_I(par) BOOST_PP_SEQ_ELEM_II ## par
+1 -1
View File
@@ -4,6 +4,6 @@
</head>
<body>
Automatic redirection failed, please go to
<a href="doc/index.html">doc/index.html</a>.
<a href="doc/index.htm">doc/index.html</a>.
</body>
</html>
+7 -7
View File
@@ -32,25 +32,25 @@
# elif defined NO_FLAGS
struct BOOST_PP_CAT(X, BOOST_PP_ITERATION()) {
BEGIN
BOOST_PP_ITERATION() >= BOOST_PP_ITERATION_START() &&
BOOST_PP_ITERATION() <= BOOST_PP_ITERATION_FINISH()
END
BEGIN
BOOST_PP_ITERATION() >= BOOST_PP_ITERATION_START() &&
BOOST_PP_ITERATION() <= BOOST_PP_ITERATION_FINISH()
END
};
# elif BOOST_PP_ITERATION_DEPTH() == 1 \
&& BOOST_PP_ITERATION_FLAGS() == 0x0001
&& BOOST_PP_ITERATION_FLAGS() == 0x0001
struct BOOST_PP_CAT(Y, BOOST_PP_ITERATION()) { };
# elif BOOST_PP_ITERATION_DEPTH() == 1 \
&& BOOST_PP_ITERATION_FLAGS() == 0x0002
&& BOOST_PP_ITERATION_FLAGS() == 0x0002
# define BOOST_PP_ITERATION_PARAMS_2 (3, (1, BOOST_PP_ITERATION(), <libs/preprocessor/test/iteration.h>))
# include BOOST_PP_ITERATE()
# elif BOOST_PP_ITERATION_DEPTH() == 2 \
&& BOOST_PP_FRAME_FLAGS(1) == 0x0002
&& BOOST_PP_FRAME_FLAGS(1) == 0x0002
struct BOOST_PP_CAT(Z, BOOST_PP_CAT(BOOST_PP_ITERATION(), BOOST_PP_RELATIVE_ITERATION(1))) { };
+4 -4
View File
@@ -23,7 +23,7 @@
# define NTH(z, n, data) data ## n
int add(BOOST_PP_ENUM_PARAMS(MAX, int x)) {
return BOOST_PP_REPEAT(MAX, NTH, + x);
return BOOST_PP_REPEAT(MAX, NTH, + x);
}
const int r = add(BOOST_PP_ENUM_PARAMS(MAX, 1 BOOST_PP_INTERCEPT));
@@ -32,9 +32,9 @@ const int r = add(BOOST_PP_ENUM_PARAMS(MAX, 1 BOOST_PP_INTERCEPT));
const int BOOST_PP_ENUM(MAX, CONSTANT, default_param_);
# define TEST(n) \
void BOOST_PP_CAT(test_enum_params, n)(BOOST_PP_ENUM_PARAMS(n, int x)); \
void BOOST_PP_CAT(test_enum_params_with_a_default, n)(BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(n, int x, 0)); \
void BOOST_PP_CAT(test_enum_params_with_defaults, n)(BOOST_PP_ENUM_PARAMS_WITH_DEFAULTS(n, int x, default_param_));
void BOOST_PP_CAT(test_enum_params, n)(BOOST_PP_ENUM_PARAMS(n, int x)); \
void BOOST_PP_CAT(test_enum_params_with_a_default, n)(BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(n, int x, 0)); \
void BOOST_PP_CAT(test_enum_params_with_defaults, n)(BOOST_PP_ENUM_PARAMS_WITH_DEFAULTS(n, int x, default_param_));
TEST(0)
TEST(MAX)
+2 -2
View File
@@ -26,8 +26,8 @@ namespace std { }
using namespace std;
int main(void) {
printf("pass " __TIME__);
return 0;
printf("pass " __TIME__);
return 0;
}
# endif