|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r72160 - in branches/pplib/variadics/libs/preprocessor/doc: . ref topics
From: eldiener_at_[hidden]
Date: 2011-05-25 12:10:10
Author: eldiener
Date: 2011-05-25 12:10:07 EDT (Wed, 25 May 2011)
New Revision: 72160
URL: http://svn.boost.org/trac/boost/changeset/72160
Log:
Removed BOOST_PP_CALL_OVERLOAD documentation again.
Text files modified:
branches/pplib/variadics/libs/preprocessor/doc/ref/overload.html | 21 ++++++++-------------
branches/pplib/variadics/libs/preprocessor/doc/syntax.html | 11 +++++------
branches/pplib/variadics/libs/preprocessor/doc/topics/variadic_macros.html | 4 ++--
3 files changed, 15 insertions(+), 21 deletions(-)
Modified: branches/pplib/variadics/libs/preprocessor/doc/ref/overload.html
==============================================================================
--- branches/pplib/variadics/libs/preprocessor/doc/ref/overload.html (original)
+++ branches/pplib/variadics/libs/preprocessor/doc/ref/overload.html 2011-05-25 12:10:07 EDT (Wed, 25 May 2011)
@@ -1,9 +1,9 @@
<html>
-<head>
- <title>BOOST_PP_OVERLOAD</title>
- <link rel="stylesheet" type="text/css" href="../styles.css">
-</head>
-<body>
+ <head>
+ <title>BOOST_PP_OVERLOAD</title>
+ <link rel="stylesheet" type="text/css" href="../styles.css">
+ </head>
+ <body>
<div style="margin-left: 0px;"> The <b>BOOST_PP_OVERLOAD</b> variadic macro expands to the name of a non-variadic macro having a given number of parameters.<br>
</div>
<h4>Usage</h4>
@@ -28,12 +28,7 @@
elements as non-variadic arguments. In this way one can invoke a
variadic macro with a variable number of parameters which calls one of
a series of non-variadic macros doing very similar things.
-</div>
-<h4>See Also</h4>
-<ul>
-<li>BOOST_PP_CALL_OVERLOAD</li>
-</ul>
-<h4>Requirements</h4>
+</div><b>Requirements</b>
<div> <b>Header:</b> <boost/preprocessor/facilities/overload.hpp>
</div>
<h4>Sample Code</h4>
@@ -47,5 +42,5 @@
(See accompanying file LICENSE_1_0.txt
or copy at www.boost.org/LICENSE_1_0.txt)</small></p>
</div>
-</body>
-</html>
+ </body>
+</html>
\ No newline at end of file
Modified: branches/pplib/variadics/libs/preprocessor/doc/syntax.html
==============================================================================
--- branches/pplib/variadics/libs/preprocessor/doc/syntax.html (original)
+++ branches/pplib/variadics/libs/preprocessor/doc/syntax.html 2011-05-25 12:10:07 EDT (Wed, 25 May 2011)
@@ -1,9 +1,9 @@
<html>
-<head>
- <title>syntax.html</title>
+ <head>
+ <title>syntax.html</title>
<link rel="stylesheet" type="text/css" href="styles.css">
-</head>
-<body>
+ </head>
+ <body>
<h4>Identifiers for Syntax Highlighting</h4>
<div>
<!-- A -->
@@ -42,7 +42,6 @@
<br>BOOST_PP_BOOL
<!-- C -->
<br>BOOST_PP_CAT
- <br>BOOST_PP_CALL_OVERLOAD
<br>BOOST_PP_COMMA
<br>BOOST_PP_COMMA_IF
<br>BOOST_PP_COMPL
@@ -304,5 +303,5 @@
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
-->
-</body>
+ </body>
</html>
\ No newline at end of file
Modified: branches/pplib/variadics/libs/preprocessor/doc/topics/variadic_macros.html
==============================================================================
--- branches/pplib/variadics/libs/preprocessor/doc/topics/variadic_macros.html (original)
+++ branches/pplib/variadics/libs/preprocessor/doc/topics/variadic_macros.html 2011-05-25 12:10:07 EDT (Wed, 25 May 2011)
@@ -194,8 +194,8 @@
<pre>#define MACRO_ARG_2(x,y) BOOST_PP_ADD(x,y)<br>#define VAR_MACRO(...) __VA_ARGS__<br><br>/* The following will work correctly */<br><br>int xx = MACRO_ARG_2<br> (<br> BOOST_PP_VARIADIC_ELEM(0,VAR_MACRO(2,3)),<br> BOOST_PP_VARIADIC_ELEM(1,VAR_MACRO(2,3))<br> );</pre>
</div>
<div>The second way is to use a macro in the library called
-BOOST_PP_OVERLOAD or its more powerful cousin BOOST_PP_CALL_OVERLOAD.
-These macros allow one to "overload" a variadic macro to non-variadic
+BOOST_PP_OVERLOAD.
+This macro allows one to "overload" a variadic macro to non-variadic
macros of different numbers of parameters, using a common prefix.
</div>
<h4>Example<u> - Passing variadic data as a whole to
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk