diff --git a/doc/topics/motivation.html b/doc/topics/motivation.html index e4e38f0..281041c 100644 --- a/doc/topics/motivation.html +++ b/doc/topics/motivation.html @@ -69,7 +69,7 @@ yes_type is_function_tester(R (*)(A0, A1, A2)); Library support is needed!
- For detailed information on the capabilities and limitations of the preprocessor, please refer to the C++ standard [Std]. + For detailed information on the capabilities and limitations of the preprocessor, please refer to the C++ standard [Std].

The Motivation Example Revisited

diff --git a/doc/topics/techniques.html b/doc/topics/techniques.html index adf9869..d205297 100644 --- a/doc/topics/techniques.html +++ b/doc/topics/techniques.html @@ -39,8 +39,8 @@ BOOST_PP_DEF(/)
Notes:  You can extend this example by defining more and different kinds of operators.  - Before doing so, consider using the algebraic categories technique introduced in [Barton] - or a layered architecture (see for instance [Czarnecki]).  + Before doing so, consider using the algebraic categories technique introduced in [Barton] + or a layered architecture (see for instance [Czarnecki]).  However, at some point you must type the operator tokens *, /, +, -, etc., because it is impossible to generate them using templates.  The resulting categorical repetition of tokens can be eliminated by using preprocessor metaprogramming. @@ -213,7 +213,7 @@ BOOST_PP_REPEAT(ARITHMETIC_TYPE_CNT, BOOST_PP_DEF, _) #undef BOOST_PP_DEF
- Note:  The repetition of the above example can be eliminated using template metaprogramming [Czarnecki] as well.  + Note:  The repetition of the above example can be eliminated using template metaprogramming [Czarnecki] as well.  However categorical repetition of operator tokens cannot be completely eliminated by using template metaprogramming.