diff --git a/doc/ref/deduce_d.html b/doc/ref/deduce_d.html index 485909b..35ee749 100644 --- a/doc/ref/deduce_d.html +++ b/doc/ref/deduce_d.html @@ -47,7 +47,7 @@ BOOST_PP_REPEAT( \ BOOST_PP_INC( \ BOOST_PP_SUB(last, first) \ - , \ + ), \ RANGE_M, \ (first, BOOST_PP_DEDUCE_D()) \ ) \ diff --git a/doc/ref/expand.html b/doc/ref/expand.html index 9e554d4..642b2c7 100644 --- a/doc/ref/expand.html +++ b/doc/ref/expand.html @@ -36,11 +36,11 @@ #define MACRO(a, b, c) (a)(b)(c) #define ARGS() (1, 2, 3) -BOOST_PP_EXPAND(MACRO ARGS) // expands to (1)(2)(3) +BOOST_PP_EXPAND(MACRO ARGS()) // expands to (1)(2)(3) #define SAMPLE(n) \ BOOST_PP_EXPAND( \ - MACRO, \ + MACRO \ BOOST_PP_IF( \ n, \ (x, y, z), \ diff --git a/doc/ref/iif.html b/doc/ref/iif.html index 3e2fd81..aeb005a 100644 --- a/doc/ref/iif.html +++ b/doc/ref/iif.html @@ -44,11 +44,12 @@
#include <boost/preprocessor/control/iif.hpp> +#include <boost/preprocessor/logical/or.hpp #define OR_IF(p, q, t, f) BOOST_PP_IIF(BOOST_PP_OR(p, q), t, f) OR_IF(1, 0, abc, xyz) // expands to abc -OF_IF(0, 0, abc, xyz) // expands to xyz +OR_IF(0, 0, abc, xyz) // expands to xyz