diff --git a/doc/tutorial.htm b/doc/tutorial.htm index 3810f2c..3d9a88d 100644 --- a/doc/tutorial.htm +++ b/doc/tutorial.htm @@ -74,6 +74,8 @@ yes_type is_function_tester(R (*)(A0, A1, A2));
Because C++ comes with a preprocessor, one would assume that it would support @@ -173,8 +175,8 @@ BOOST_PREPROCESSOR_DEF(const)
HOW: BOOST_PREPROCESSOR_EMPTY() expands to nothing and can be used as an unused parameter.
-NOTE: BOOST_PREPROCESSOR_EMPTY without the () never get expanded. The - () is necessary to invoke a function style macro.
+NOTE: BOOST_PREPROCESSOR_EMPTY without the () never gets expanded. The + () is necessary to invoke a function-like macro.
CAVEAT: You can not safely use concatenation while using BOOST_PREPROCESSOR_EMPTY().TIP: Occasionally one or two lines are considerably longer than the rest. It can often save some work to not align all