diff --git a/doc/keywords.txt b/doc/keywords.txt index 8e5825d..211cd4b 100644 --- a/doc/keywords.txt +++ b/doc/keywords.txt @@ -19,6 +19,7 @@ BOOST_PP_ENUM_SHIFTED_PARAMS BOOST_PP_EQUAL BOOST_PP_EQUAL_D BOOST_PP_EXPAND +BOOST_PP_EXPR_IF BOOST_PP_FOR BOOST_PP_GREATER BOOST_PP_GREATER_D @@ -26,7 +27,6 @@ BOOST_PP_GREATER_EQUAL BOOST_PP_GREATER_EQUAL_D BOOST_PP_IDENTITY BOOST_PP_IF -BOOST_PP_IF_THEN BOOST_PP_INC BOOST_PP_LESS BOOST_PP_LESS_D diff --git a/doc/reference/expand.htm b/doc/reference/expand.htm index ce7fd8f..3be5eaf 100644 --- a/doc/reference/expand.htm +++ b/doc/reference/expand.htm @@ -19,7 +19,7 @@
-Prev Next Macros Headers +Prev Next Macros Headers

#include <boost/preprocessor/expand.hpp>

@@ -30,7 +30,7 @@

Essentially macro expands the parameter X twice.


-Prev Next Macros Headers +Prev Next Macros Headers

Revised

diff --git a/doc/reference/if_then.htm b/doc/reference/expr_if.htm similarity index 62% rename from doc/reference/if_then.htm rename to doc/reference/expr_if.htm index 7b1d6f7..b87c9b4 100644 --- a/doc/reference/if_then.htm +++ b/doc/reference/expr_if.htm @@ -19,21 +19,26 @@
-Prev Next Macros Headers +Prev Next Macros Headers
-

#include <boost/preprocessor/if_then.hpp>

+

#include <boost/preprocessor/expr_if.hpp>


-

#define BOOST_PP_IF_THEN(C,T)

-

Expands to T if C != 0 and to nothing if C == 0.

+

#define BOOST_PP_EXPR_IF(C,E)

+

Expands to E if C != 0 and to nothing if C == 0.

-

For example, BOOST_PP_IF_THEN(1,^) expands to ^.

+

For example, BOOST_PP_EXPR_IF(1,^) expands to ^.

+ +

See

+
-Prev Next Macros Headers +Prev Next Macros Headers

Revised

diff --git a/doc/reference/for.htm b/doc/reference/for.htm index c585080..cc5da2a 100644 --- a/doc/reference/for.htm +++ b/doc/reference/for.htm @@ -19,7 +19,7 @@
-Prev Next Macros Headers +Prev Next Macros Headers

#include <boost/preprocessor/for.hpp>

@@ -89,7 +89,7 @@ invoking BOOST_PP_FOR##R() directly.


-Prev Next Macros Headers +Prev Next Macros Headers

Revised

diff --git a/doc/reference/if.htm b/doc/reference/if.htm index dd0e053..51fda0d 100644 --- a/doc/reference/if.htm +++ b/doc/reference/if.htm @@ -19,7 +19,7 @@
-Prev Next Macros Headers +Prev Next Macros Headers

#include <boost/preprocessor/if.hpp>

@@ -32,6 +32,11 @@

For example, BOOST_PP_IF(0,1,2) expands to 2.

+

See

+ +

Test