diff --git a/doc/headers/facilities/identity.html b/doc/headers/facilities/identity.html index 9478e09..af9034b 100644 --- a/doc/headers/facilities/identity.html +++ b/doc/headers/facilities/identity.html @@ -5,7 +5,7 @@
Distributed under the Boost Software License, Version 1.0. (See
diff --git a/doc/ref.html b/doc/ref.html
index 4d2081f..102325a 100644
--- a/doc/ref.html
+++ b/doc/ref.html
@@ -99,6 +99,7 @@
Distributed under the Boost Software License, Version 1.0. (See
+ accompanying file LICENSE_1_0.txt or
+ copy at www.boost.org/LICENSE_1_0.txt)Usage
+ Arguments
+
+
+ Remarks
+ See Also
+
+
+ Requirements
+ Sample Code
+
+#include <boost/preprocessor/control/if.hpp>
+#include <boost/preprocessor/facilities/identity.hpp>
+
+#define MACRO_CAT(y,z) y ## z
+#define MACRO(n) BOOST_PP_IF(n, BOOST_PP_IDENTITY_N(x,2), MACRO_CAT)(a,b)
+
+MACRO(0) // expands to ab
+MACRO(1) // expands to x
+
+