Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65690 - in sandbox/variadic_macro_data: boost/variadic_macro_data libs/variadic_macro_data/doc/html libs/variadic_macro_data/test
From: eldiener_at_[hidden]
Date: 2010-09-29 16:54:59


Author: eldiener
Date: 2010-09-29 16:54:57 EDT (Wed, 29 Sep 2010)
New Revision: 65690
URL: http://svn.boost.org/trac/boost/changeset/65690

Log:
Dropped VMD_PP_REPEAT_TUPLE and updated tuple test and documentation.
Text files modified:
   sandbox/variadic_macro_data/boost/variadic_macro_data/VariadicMacroData.hpp | 32 ------
   sandbox/variadic_macro_data/libs/variadic_macro_data/doc/html/_variadic_macro_data_8hpp.html | 213 ++++++---------------------------------
   sandbox/variadic_macro_data/libs/variadic_macro_data/doc/html/globals.html | 12 --
   sandbox/variadic_macro_data/libs/variadic_macro_data/doc/html/globals_defs.html | 12 --
   sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsTuple.cpp | 3
   5 files changed, 38 insertions(+), 234 deletions(-)

Modified: sandbox/variadic_macro_data/boost/variadic_macro_data/VariadicMacroData.hpp
==============================================================================
--- sandbox/variadic_macro_data/boost/variadic_macro_data/VariadicMacroData.hpp (original)
+++ sandbox/variadic_macro_data/boost/variadic_macro_data/VariadicMacroData.hpp 2010-09-29 16:54:57 EDT (Wed, 29 Sep 2010)
@@ -73,7 +73,6 @@
       - VMD_PP_TUPLE_REVERSE(tuple)
       - VMD_PP_TUPLE_TO_LIST(tuple)
       - VMD_PP_TUPLE_TO_SEQ(tuple)
- - VMD_PP_REPEAT_TUPLE(macro,tuple)
 
 */
 
@@ -188,10 +187,6 @@
     With variadic macros the size of a tuple can be
     calculated from the tuple itself.
     
- If you need to call BOOST_PP_REPEAT with the first parameter
- being exactly the tuple size, you can more easily use
- VMD_PP_REPEAT_TUPLE instead without having to pass a count.
-
 */
 #define VMD_PP_TUPLE_SIZE(tuple) \
   VMD_DETAIL_PP_TUPLE_SIZE(tuple) \
@@ -386,32 +381,5 @@
   VMD_PP_TUPLE_TO_DATA(BOOST_PP_SEQ_TO_TUPLE(seq)) \
 /**/
 
-/// A replacement macro for BOOST_PP_REPEAT where count is the tuple data size
-/**
-
- macro = A ternary operation of the form macro(z, n, data).
- This macro is expanded by BOOST_PP_REPEAT with the next
- available repetition depth, the current repetition number,
- and the auxiliary data argument.
-
- tuple = Auxiliary data, which must be a tuple, passed to macro.
-
- returns = The macro expands to the sequence:
- macro(z, 0, tuple) macro(z, 1, tuple) ... macro(z, tuple size - 1, tuple).
- See BOOST_PP_REPEAT for further explanation.
-
- This macro is a replacement for BOOST_PP_REPEAT when the count
- parameter is exactly the size of the tuple data. It is purely
- a macro created for end-user convenience.
-
- For the other Boost PP data types, the size of the data type is directly accessible
- through functionality in the Boost PP library, so there is no problem calling
- BOOST_PP_REPEAT directly with that size as the first parameter.
-
-*/
-#define VMD_PP_REPEAT_TUPLE(macro,tuple) \
- BOOST_PP_REPEAT(VMD_PP_TUPLE_SIZE(tuple),macro,tuple) \
-/**/
-
 #endif // BOOST_NO_VARIADIC_MACROS
 #endif // VARIADIC_MACRO_DATA_HPP

Modified: sandbox/variadic_macro_data/libs/variadic_macro_data/doc/html/_variadic_macro_data_8hpp.html
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/doc/html/_variadic_macro_data_8hpp.html (original)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/doc/html/_variadic_macro_data_8hpp.html 2010-09-29 16:54:57 EDT (Wed, 29 Sep 2010)
@@ -33,9 +33,9 @@
 <tr><td colspan="2"><h2><a name="define-members"></a>
 Defines</h2></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#a9c702f476a06a6e25e168dba9e5f169b">VMD_DATA_SIZE</a>(...)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to the number of comma-separated variable macro data arguments. <br/></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to the number of comma-separated variadic macro data arguments. <br/></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#afc59f250855d3174c9f5ecbdaa1b7027">VMD_DATA_ELEMENT</a>(n,...)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to a particular variable macro data argument. <br/></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to a particular variadic macro data argument. <br/></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#a2fcd6f5b228bb3379c09457d3feed5dd">VMD_DATA_TO_PP_TUPLE</a>(...)</td></tr>
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expand to a Boost PP tuple data type. <br/></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#a23099c5dda37ba7353ecdeb47a039aec">VMD_DATA_TO_PP_ARRAY</a>(...)</td></tr>
@@ -48,10 +48,6 @@
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to the number of elements in a tuple. <br/></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#a5c645fee7591a40aa173b7dd989c758f">VMD_PP_TUPLE_ELEM</a>(n, tuple)</td></tr>
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to a particular tuple element. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#a112de8b9571ff160beab7e9d1e66a011">VMD_PP_TUPLE_EAT</a>(size)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to a macro that eats a tuple of the specified size. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#a1facbd95654768f329db54b76f009b40">VMD_PP_TUPLE_REM</a>(size)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to a macro that removes the parentheses from a tuple of the specified size. <br/></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#a0e31d2b35fa81c051b83bc6b9556b36e">VMD_PP_TUPLE_REM_CTOR</a>(tuple)</td></tr>
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to a series of tokens which are equivalent to removing the parentheses from a tuple. <br/></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#a8c81c6e964c9fb60b850c6cb1f71382d">VMD_PP_TUPLE_REVERSE</a>(tuple)</td></tr>
@@ -61,20 +57,16 @@
 <tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#a1399f161c3a47bb2d39b49e9b4c9432b">VMD_PP_TUPLE_TO_SEQ</a>(tuple)</td></tr>
 <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to a sequence whose elements are the same as a tuple. <br/></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#a0c3a5919752a07022f036d31a6cf8342">VMD_PP_TUPLE_TO_DATA</a>(tuple)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to variable macro data whose arguments are the same as a tuple's elements. <br/></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to variadic macro data whose arguments are the same as a tuple's elements. <br/></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#aa7cd1ea1b6acc0bc2925524118856196">VMD_PP_ARRAY_TO_DATA</a>(array)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to variable macro data whose arguments are the same as an array's elements. <br/></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to variadic macro data whose arguments are the same as an array's elements. <br/></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#a5643216d29dabbeb24176f1c2cff68a4">VMD_PP_LIST_TO_DATA</a>(list)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to variable macro data whose arguments are the same as a list's elements. <br/></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to variadic macro data whose arguments are the same as a list's elements. <br/></td></tr>
 <tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#a0701b18f9f3852515cd9710b77b41879">VMD_PP_SEQ_TO_DATA</a>(seq)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to variable macro data whose arguments are the same as a sequence's elements. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#a475143272d92866fdc88cfcff2c7d8cf">VMD_PP_REPEAT</a>(count, macro, data)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A replacement macro for BOOST_PP_REPEAT where count is calculated. <br/></td></tr>
-<tr><td class="memItemLeft" align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#aaa1566ca3ab8c1240be3b4a70825f470">VMD_PP_REPEAT_TUPLE</a>(macro, tuple)</td></tr>
-<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A replacement macro for BOOST_PP_REPEAT where count is the tuple data size. <br/></td></tr>
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Expands to variadic macro data whose arguments are the same as a sequence's elements. <br/></td></tr>
 </table>
 <hr/><a name="_details"></a><h2>Detailed Description</h2>
-<p>The term 'Boost PP library' in this dopcumentation is shorthand for the Boost preprocessor library.</p>
+<p>The term 'Boost PP library' in this documentation is shorthand for the Boost preprocessor library.</p>
 <p>The macros provide support for variadic macro usage as well as integrating variadic macros with the Boost PP library without changing anything in the Boost PP library in any way. The latter is done by providing means of converting variadic macro data to Boost PP data types and by providing means of converting Boost PP data types back to variadic macro data.</p>
 <p>The macros will only work for compilers in which the Boost configuration macro, BOOST_NO_VARIADIC_MACROS, is not defined.</p>
 <p>Currently All of the macros in this library begin with the prefix of VMD_. If this library were accepted as a Boost library, the macros could be changed to start with a prefix of BOOST_VMD_ .</p>
@@ -95,10 +87,10 @@
 </ul>
 </li>
 <li>Macros which convert Boost PP data types to variadic macro data.<ul>
-<li><a class="el" href="_variadic_macro_data_8hpp.html#a0c3a5919752a07022f036d31a6cf8342" title="Expands to variable macro data whose arguments are the same as a tuple&#39;s elements.">VMD_PP_TUPLE_TO_DATA(tuple)</a></li>
-<li><a class="el" href="_variadic_macro_data_8hpp.html#aa7cd1ea1b6acc0bc2925524118856196" title="Expands to variable macro data whose arguments are the same as an array&#39;s elements.">VMD_PP_ARRAY_TO_DATA(array)</a></li>
-<li><a class="el" href="_variadic_macro_data_8hpp.html#a5643216d29dabbeb24176f1c2cff68a4" title="Expands to variable macro data whose arguments are the same as a list&#39;s elements.">VMD_PP_LIST_TO_DATA(list)</a></li>
-<li><a class="el" href="_variadic_macro_data_8hpp.html#a0701b18f9f3852515cd9710b77b41879" title="Expands to variable macro data whose arguments are the same as a sequence&#39;s elements.">VMD_PP_SEQ_TO_DATA(seq)</a></li>
+<li><a class="el" href="_variadic_macro_data_8hpp.html#a0c3a5919752a07022f036d31a6cf8342" title="Expands to variadic macro data whose arguments are the same as a tuple&#39;s elements.">VMD_PP_TUPLE_TO_DATA(tuple)</a></li>
+<li><a class="el" href="_variadic_macro_data_8hpp.html#aa7cd1ea1b6acc0bc2925524118856196" title="Expands to variadic macro data whose arguments are the same as an array&#39;s elements.">VMD_PP_ARRAY_TO_DATA(array)</a></li>
+<li><a class="el" href="_variadic_macro_data_8hpp.html#a5643216d29dabbeb24176f1c2cff68a4" title="Expands to variadic macro data whose arguments are the same as a list&#39;s elements.">VMD_PP_LIST_TO_DATA(list)</a></li>
+<li><a class="el" href="_variadic_macro_data_8hpp.html#a0701b18f9f3852515cd9710b77b41879" title="Expands to variadic macro data whose arguments are the same as a sequence&#39;s elements.">VMD_PP_SEQ_TO_DATA(seq)</a></li>
 </ul>
 </li>
 <li>Macros which ease the use of the Boost PP tuple data type by not requiring that a tuple size be passed.<ul>
@@ -106,14 +98,7 @@
 <li><a class="el" href="_variadic_macro_data_8hpp.html#a5c645fee7591a40aa173b7dd989c758f" title="Expands to a particular tuple element.">VMD_PP_TUPLE_ELEM(n,tuple)</a></li>
 <li><a class="el" href="_variadic_macro_data_8hpp.html#a8c81c6e964c9fb60b850c6cb1f71382d" title="Expands to a tuple whose elements are in reversed order.">VMD_PP_TUPLE_REVERSE(tuple)</a></li>
 <li><a class="el" href="_variadic_macro_data_8hpp.html#ab4f99fd1f6008a036db7fc9b92583e38" title="Expands to a list whose elements are the same as a tuple.">VMD_PP_TUPLE_TO_LIST(tuple)</a></li>
-<li><a class="el" href="_variadic_macro_data_8hpp.html#a1399f161c3a47bb2d39b49e9b4c9432b" title="Expands to a sequence whose elements are the same as a tuple.">VMD_PP_TUPLE_TO_SEQ(tuple)</a></li>
-<li><a class="el" href="_variadic_macro_data_8hpp.html#aaa1566ca3ab8c1240be3b4a70825f470" title="A replacement macro for BOOST_PP_REPEAT where count is the tuple data size.">VMD_PP_REPEAT_TUPLE(macro,tuple)</a></li>
-</ul>
-</li>
-<li>Macros which allow the Boost PP macro functionality to be used when the 'count' or 'size' parameter is calculated from .._SIZE macros in this library and one is using Microsoft's Visual C++.<ul>
-<li><a class="el" href="_variadic_macro_data_8hpp.html#a112de8b9571ff160beab7e9d1e66a011" title="Expands to a macro that eats a tuple of the specified size.">VMD_PP_TUPLE_EAT(size)</a></li>
-<li><a class="el" href="_variadic_macro_data_8hpp.html#a1facbd95654768f329db54b76f009b40" title="Expands to a macro that removes the parentheses from a tuple of the specified size.">VMD_PP_TUPLE_REM(size)</a></li>
-<li><a class="el" href="_variadic_macro_data_8hpp.html#a475143272d92866fdc88cfcff2c7d8cf" title="A replacement macro for BOOST_PP_REPEAT where count is calculated.">VMD_PP_REPEAT(count,macro,data)</a> </li>
+<li><a class="el" href="_variadic_macro_data_8hpp.html#a1399f161c3a47bb2d39b49e9b4c9432b" title="Expands to a sequence whose elements are the same as a tuple.">VMD_PP_TUPLE_TO_SEQ(tuple)</a> </li>
 </ul>
 </li>
 </ul>
@@ -134,11 +119,10 @@
 </div>
 <div class="memdoc">
 
-<p>Expands to the number of comma-separated variable macro data arguments. </p>
-<p>... = variable macro data.</p>
-<p>returns = the number of comma-separated variable macro data arguments being passed to it.</p>
-<p>The value returned can be between 1 and 64.</p>
-<p>When using the results of this macro as the first parameter to BOOST_PP_REPEAT, whether using the result directly or in a Boost PP library calculation, use the macro VMD_PP_REPEAT instead. </p>
+<p>Expands to the number of comma-separated variadic macro data arguments. </p>
+<p>... = variadic macro data.</p>
+<p>returns = the number of comma-separated variadic macro data arguments being passed to it.</p>
+<p>The value returned can be between 1 and 64. </p>
 
 </div>
 </div>
@@ -167,9 +151,9 @@
 </div>
 <div class="memdoc">
 
-<p>Expands to a particular variable macro data argument. </p>
-<p>n = number of the variable macro data argument. The number starts from 0 to the number of variable macro data arguments - 1.</p>
-<p>... = variable macro data.</p>
+<p>Expands to a particular variadic macro data argument. </p>
+<p>n = number of the variadic macro data argument. The number starts from 0 to the number of variadic macro data arguments - 1.</p>
+<p>... = variadic macro data.</p>
 <p>returns = the particular macro data argument as specified by n. The argument returned can be any valid preprocessing token. </p>
 
 </div>
@@ -191,7 +175,7 @@
 <div class="memdoc">
 
 <p>Expand to a Boost PP tuple data type. </p>
-<p>... = variable macro data.</p>
+<p>... = variadic macro data.</p>
 <p>returns = a Boost PP library tuple data type.</p>
 <p>You can use the result of this macro whenever you need to pass a Boost PP library tuple as data to a Boost PP library macro. </p>
 
@@ -214,7 +198,7 @@
 <div class="memdoc">
 
 <p>Expand to a Boost PP array data type. </p>
-<p>... = variable macro data.</p>
+<p>... = variadic macro data.</p>
 <p>returns = a Boost PP library array data type.</p>
 <p>You can use the result of this macro whenever you need to pass a Boost PP library array as data to a Boost PP library macro. </p>
 
@@ -237,7 +221,7 @@
 <div class="memdoc">
 
 <p>Expand to a Boost PP list data type. </p>
-<p>... = variable macro data.</p>
+<p>... = variadic macro data.</p>
 <p>returns = a Boost PP library list data type.</p>
 <p>You can use the result of this macro whenever you need to pass a Boost PP library list as data to a Boost PP library macro. </p>
 
@@ -260,7 +244,7 @@
 <div class="memdoc">
 
 <p>Expand to a Boost PP sequence data type. </p>
-<p>... = variable macro data.</p>
+<p>... = variadic macro data.</p>
 <p>returns = a Boost PP library sequence data type.</p>
 <p>You can use the result of this macro whenever you need to pass a Boost PP library sequence as data to a Boost PP library macro. </p>
 
@@ -285,9 +269,7 @@
 <p>Expands to the number of elements in a tuple. </p>
 <p>tuple = a Boost PP library tuple data type.</p>
 <p>returns = the number of elements in the tuple, commonly referred to as the tuple size.</p>
-<p>In the Boost PP library there is no way to calculate the size of a tuple, so that the size must be known in order to be used by Boost PP library tuple macros. With variadic macros the size of a tuple can be calculated from the tuple itself.</p>
-<p>When using the results of this macro as the first parameter to BOOST_PP_REPEAT, whether using the result directly or in a Boost PP library calculation, use the macro VMD_PP_REPEAT instead.</p>
-<p>If you need to call BOOST_PP_REPEAT with the first parameter being exactly the tuple size, you can more easily use VMD_PP_REPEAT_TUPLE instead. </p>
+<p>In the Boost PP library there is no way to calculate the size of a tuple, so that the size must be known in order to be used by Boost PP library tuple macros. With variadic macros the size of a tuple can be calculated from the tuple itself. </p>
 
 </div>
 </div>
@@ -325,54 +307,6 @@
 
 </div>
 </div>
-<a class="anchor" id="a112de8b9571ff160beab7e9d1e66a011"></a><!-- doxytag: member="VariadicMacroData.hpp::VMD_PP_TUPLE_EAT" ref="a112de8b9571ff160beab7e9d1e66a011" args="(size)" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define VMD_PP_TUPLE_EAT</td>
- <td>(</td>
- <td class="paramtype">&nbsp;</td>
- <td class="paramname">size</td>
- <td>&nbsp;)&nbsp;</td>
- <td></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>Expands to a macro that eats a tuple of the specified size. </p>
-<p>size = the number of elements in the subsequent tuple.</p>
-<p>returns = a macro which eats a subsequent tuple. This means that when applied to the subsequent tuple the returned macro expands to nothing.</p>
-<p>For Microsoft's Visual C++ this macro is a replacement for BOOST_PP_TUPLE_EAT when the count parameter is calculated with either VMD_DATA_SIZE(...) or <a class="el" href="_variadic_macro_data_8hpp.html#a142becd2891042b870cdc32adda0d0b5" title="Expands to the number of elements in a tuple.">VMD_PP_TUPLE_SIZE(tuple)</a>. In that case BOOST_PP_TUPLE_EAT will not expand properly but using this macro, which delays the call to BOOST_PP_TUPLE_REM until the VMD_DATA_SIZE(...) or <a class="el" href="_variadic_macro_data_8hpp.html#a142becd2891042b870cdc32adda0d0b5" title="Expands to the number of elements in a tuple.">VMD_PP_TUPLE_SIZE(tuple)</a> are fully expanded, does work properly.</p>
-<p>Other compilers can use BOOST_PP_TUPLE_EAT directly, but this macro will also work. </p>
-
-</div>
-</div>
-<a class="anchor" id="a1facbd95654768f329db54b76f009b40"></a><!-- doxytag: member="VariadicMacroData.hpp::VMD_PP_TUPLE_REM" ref="a1facbd95654768f329db54b76f009b40" args="(size)" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define VMD_PP_TUPLE_REM</td>
- <td>(</td>
- <td class="paramtype">&nbsp;</td>
- <td class="paramname">size</td>
- <td>&nbsp;)&nbsp;</td>
- <td></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>Expands to a macro that removes the parentheses from a tuple of the specified size. </p>
-<p>size = the number of elements in the subsequent tuple.</p>
-<p>returns = a macro which can remove the parentheses from a subsequent tuple.</p>
-<p>For Microsoft's Visual C++ this macro is a replacement for BOOST_PP_TUPLE_REM when the count parameter is calculated with either VMD_DATA_SIZE(...) or <a class="el" href="_variadic_macro_data_8hpp.html#a142becd2891042b870cdc32adda0d0b5" title="Expands to the number of elements in a tuple.">VMD_PP_TUPLE_SIZE(tuple)</a>. In that case BOOST_PP_TUPLE_REM will not expand properly but using this macro, which delays the call to BOOST_PP_TUPLE_REM until the VMD_DATA_SIZE(...) or <a class="el" href="_variadic_macro_data_8hpp.html#a142becd2891042b870cdc32adda0d0b5" title="Expands to the number of elements in a tuple.">VMD_PP_TUPLE_SIZE(tuple)</a> are fully expanded, does work properly.</p>
-<p>Other compilers can use BOOST_PP_TUPLE_REM directly but this macro will also work. </p>
-
-</div>
-</div>
 <a class="anchor" id="a0e31d2b35fa81c051b83bc6b9556b36e"></a><!-- doxytag: member="VariadicMacroData.hpp::VMD_PP_TUPLE_REM_CTOR" ref="a0e31d2b35fa81c051b83bc6b9556b36e" args="(tuple)" -->
 <div class="memitem">
 <div class="memproto">
@@ -486,10 +420,10 @@
 </div>
 <div class="memdoc">
 
-<p>Expands to variable macro data whose arguments are the same as a tuple's elements. </p>
+<p>Expands to variadic macro data whose arguments are the same as a tuple's elements. </p>
 <p>tuple = a Boost PP library tuple data type.</p>
-<p>returns = variable macro data whose arguments are the same as the elements of a tuple that is inputted.</p>
-<p>The variable macro data that is returned is in the form of of comma separated arguments. The variable macro data can be passed to any macro which takes variable macro data in the form of a final variable macro data '...' macro parameter. </p>
+<p>returns = variadic macro data whose arguments are the same as the elements of a tuple that is inputted.</p>
+<p>The variadic macro data that is returned is in the form of of comma separated arguments. The variadic macro data can be passed to any macro which takes variadic macro data in the form of a final variadic macro data '...' macro parameter. </p>
 
 </div>
 </div>
@@ -509,10 +443,10 @@
 </div>
 <div class="memdoc">
 
-<p>Expands to variable macro data whose arguments are the same as an array's elements. </p>
+<p>Expands to variadic macro data whose arguments are the same as an array's elements. </p>
 <p>array = a Boost PP library array data type.</p>
-<p>returns = variable macro data whose arguments are the same as the elements of an array that is inputted.</p>
-<p>The variable macro data that is returned is in the form of of comma separated arguments. The variable macro data can be passed to any macro which takes variable macro data in the form of a final variable macro data '...' macro parameter. </p>
+<p>returns = variadic macro data whose arguments are the same as the elements of an array that is inputted.</p>
+<p>The variadic macro data that is returned is in the form of of comma separated arguments. The variadic macro data can be passed to any macro which takes variadic macro data in the form of a final variadic macro data '...' macro parameter. </p>
 
 </div>
 </div>
@@ -532,10 +466,10 @@
 </div>
 <div class="memdoc">
 
-<p>Expands to variable macro data whose arguments are the same as a list's elements. </p>
+<p>Expands to variadic macro data whose arguments are the same as a list's elements. </p>
 <p>list = a Boost PP library list data type.</p>
-<p>returns = variable macro data whose arguments are the same as the elements of a list that is inputted.</p>
-<p>The variable macro data that is returned is in the form of of comma separated arguments. The variable macro data can be passed to any macro which takes variable macro data in the form of a final variable macro data '...' macro parameter. </p>
+<p>returns = variadic macro data whose arguments are the same as the elements of a list that is inputted.</p>
+<p>The variadic macro data that is returned is in the form of of comma separated arguments. The variadic macro data can be passed to any macro which takes variadic macro data in the form of a final variadic macro data '...' macro parameter. </p>
 
 </div>
 </div>
@@ -555,85 +489,10 @@
 </div>
 <div class="memdoc">
 
-<p>Expands to variable macro data whose arguments are the same as a sequence's elements. </p>
+<p>Expands to variadic macro data whose arguments are the same as a sequence's elements. </p>
 <p>seq = a Boost PP library sequence data type.</p>
-<p>returns = variable macro data whose arguments are the same as the elements of a sequence that is inputted.</p>
-<p>The variable macro data that is returned is in the form of of comma separated arguments. The variable macro data can be passed to any macro which takes variable macro data in the form of a final variable macro data '...' macro parameter. </p>
-
-</div>
-</div>
-<a class="anchor" id="a475143272d92866fdc88cfcff2c7d8cf"></a><!-- doxytag: member="VariadicMacroData.hpp::VMD_PP_REPEAT" ref="a475143272d92866fdc88cfcff2c7d8cf" args="(count, macro, data)" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define VMD_PP_REPEAT</td>
- <td>(</td>
- <td class="paramtype">&nbsp;</td>
- <td class="paramname">count, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">&nbsp;</td>
- <td class="paramname">macro, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">&nbsp;</td>
- <td class="paramname">data</td><td>&nbsp;</td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>A replacement macro for BOOST_PP_REPEAT where count is calculated. </p>
-<p>count = The number of repetitious calls to macro. Valid values range from 0 to BOOST_PP_LIMIT_REPEAT.</p>
-<p>macro = A ternary operation of the form macro(z, n, data). This macro is expanded by BOOST_PP_REPEAT with the next available repetition depth, the current repetition number, and the auxiliary data argument.</p>
-<p>data = Auxiliary data passed to macro.</p>
-<p>returns = The macro expands to the sequence: macro(z, 0, data) macro(z, 1, data) ... macro(z, count - 1, data). See BOOST_PP_REPEAT for further explanation.</p>
-<p>For Microsoft's Visual C++ this macro is a replacement for BOOST_PP_REPEAT when the count parameter is calculated with either VMD_DATA_SIZE(...) or <a class="el" href="_variadic_macro_data_8hpp.html#a142becd2891042b870cdc32adda0d0b5" title="Expands to the number of elements in a tuple.">VMD_PP_TUPLE_SIZE(tuple)</a>. In that case BOOST_PP_REPEAT will not expand properly but using this macro, which delays the call to BOOST_PP_REPEAT until the VMD_DATA_SIZE(...) or <a class="el" href="_variadic_macro_data_8hpp.html#a142becd2891042b870cdc32adda0d0b5" title="Expands to the number of elements in a tuple.">VMD_PP_TUPLE_SIZE(tuple)</a> are fully expanded, does work properly.</p>
-<p>Other compilers can use BOOST_PP_REPEAT directly but this macro will also work. </p>
-
-</div>
-</div>
-<a class="anchor" id="aaa1566ca3ab8c1240be3b4a70825f470"></a><!-- doxytag: member="VariadicMacroData.hpp::VMD_PP_REPEAT_TUPLE" ref="aaa1566ca3ab8c1240be3b4a70825f470" args="(macro, tuple)" -->
-<div class="memitem">
-<div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define VMD_PP_REPEAT_TUPLE</td>
- <td>(</td>
- <td class="paramtype">&nbsp;</td>
- <td class="paramname">macro, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">&nbsp;</td>
- <td class="paramname">tuple</td><td>&nbsp;</td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td></td>
- </tr>
- </table>
-</div>
-<div class="memdoc">
-
-<p>A replacement macro for BOOST_PP_REPEAT where count is the tuple data size. </p>
-<p>macro = A ternary operation of the form macro(z, n, data). This macro is expanded by BOOST_PP_REPEAT with the next available repetition depth, the current repetition number, and the auxiliary data argument.</p>
-<p>tuple = Auxiliary data, which must be a tuple, passed to macro.</p>
-<p>returns = The macro expands to the sequence: macro(z, 0, tuple) macro(z, 1, tuple) ... macro(z, tuple size - 1, tuple). See BOOST_PP_REPEAT for further explanation.</p>
-<p>This macro is a replacement for BOOST_PP_REPEAT when the count parameter is exactly the size of the tuple data.</p>
-<p>For the other Boost PP data types, the size of the data type is directly accessible through functionality in the Boost PP library, so there is no problem calling BOOST_PP_REPEAT directly with that size as the first parameter. </p>
+<p>returns = variadic macro data whose arguments are the same as the elements of a sequence that is inputted.</p>
+<p>The variadic macro data that is returned is in the form of of comma separated arguments. The variadic macro data can be passed to any macro which takes variadic macro data in the form of a final variadic macro data '...' macro parameter. </p>
 
 </div>
 </div>

Modified: sandbox/variadic_macro_data/libs/variadic_macro_data/doc/html/globals.html
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/doc/html/globals.html (original)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/doc/html/globals.html 2010-09-29 16:54:57 EDT (Wed, 29 Sep 2010)
@@ -54,24 +54,12 @@
 <li>VMD_PP_LIST_TO_DATA
 : <a class="el" href="_variadic_macro_data_8hpp.html#a5643216d29dabbeb24176f1c2cff68a4">VariadicMacroData.hpp</a>
 </li>
-<li>VMD_PP_REPEAT
-: <a class="el" href="_variadic_macro_data_8hpp.html#a475143272d92866fdc88cfcff2c7d8cf">VariadicMacroData.hpp</a>
-</li>
-<li>VMD_PP_REPEAT_TUPLE
-: <a class="el" href="_variadic_macro_data_8hpp.html#aaa1566ca3ab8c1240be3b4a70825f470">VariadicMacroData.hpp</a>
-</li>
 <li>VMD_PP_SEQ_TO_DATA
 : <a class="el" href="_variadic_macro_data_8hpp.html#a0701b18f9f3852515cd9710b77b41879">VariadicMacroData.hpp</a>
 </li>
-<li>VMD_PP_TUPLE_EAT
-: <a class="el" href="_variadic_macro_data_8hpp.html#a112de8b9571ff160beab7e9d1e66a011">VariadicMacroData.hpp</a>
-</li>
 <li>VMD_PP_TUPLE_ELEM
 : <a class="el" href="_variadic_macro_data_8hpp.html#a5c645fee7591a40aa173b7dd989c758f">VariadicMacroData.hpp</a>
 </li>
-<li>VMD_PP_TUPLE_REM
-: <a class="el" href="_variadic_macro_data_8hpp.html#a1facbd95654768f329db54b76f009b40">VariadicMacroData.hpp</a>
-</li>
 <li>VMD_PP_TUPLE_REM_CTOR
 : <a class="el" href="_variadic_macro_data_8hpp.html#a0e31d2b35fa81c051b83bc6b9556b36e">VariadicMacroData.hpp</a>
 </li>

Modified: sandbox/variadic_macro_data/libs/variadic_macro_data/doc/html/globals_defs.html
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/doc/html/globals_defs.html (original)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/doc/html/globals_defs.html 2010-09-29 16:54:57 EDT (Wed, 29 Sep 2010)
@@ -54,24 +54,12 @@
 <li>VMD_PP_LIST_TO_DATA
 : <a class="el" href="_variadic_macro_data_8hpp.html#a5643216d29dabbeb24176f1c2cff68a4">VariadicMacroData.hpp</a>
 </li>
-<li>VMD_PP_REPEAT
-: <a class="el" href="_variadic_macro_data_8hpp.html#a475143272d92866fdc88cfcff2c7d8cf">VariadicMacroData.hpp</a>
-</li>
-<li>VMD_PP_REPEAT_TUPLE
-: <a class="el" href="_variadic_macro_data_8hpp.html#aaa1566ca3ab8c1240be3b4a70825f470">VariadicMacroData.hpp</a>
-</li>
 <li>VMD_PP_SEQ_TO_DATA
 : <a class="el" href="_variadic_macro_data_8hpp.html#a0701b18f9f3852515cd9710b77b41879">VariadicMacroData.hpp</a>
 </li>
-<li>VMD_PP_TUPLE_EAT
-: <a class="el" href="_variadic_macro_data_8hpp.html#a112de8b9571ff160beab7e9d1e66a011">VariadicMacroData.hpp</a>
-</li>
 <li>VMD_PP_TUPLE_ELEM
 : <a class="el" href="_variadic_macro_data_8hpp.html#a5c645fee7591a40aa173b7dd989c758f">VariadicMacroData.hpp</a>
 </li>
-<li>VMD_PP_TUPLE_REM
-: <a class="el" href="_variadic_macro_data_8hpp.html#a1facbd95654768f329db54b76f009b40">VariadicMacroData.hpp</a>
-</li>
 <li>VMD_PP_TUPLE_REM_CTOR
 : <a class="el" href="_variadic_macro_data_8hpp.html#a0e31d2b35fa81c051b83bc6b9556b36e">VariadicMacroData.hpp</a>
 </li>

Modified: sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsTuple.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsTuple.cpp (original)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsTuple.cpp 2010-09-29 16:54:57 EDT (Wed, 29 Sep 2010)
@@ -4,6 +4,7 @@
 #include <boost/preprocessor/seq/size.hpp>
 #include <boost/preprocessor/tuple/rem.hpp>
 #include <boost/preprocessor/tuple/eat.hpp>
+#include <boost/preprocessor/repetition/repeat.hpp>
 #include <vector>
 #include <boost/type_traits/is_same.hpp>
 
@@ -37,7 +38,7 @@
       } \
   /**/
   
- VMD_PP_REPEAT_TUPLE(VMD_TEST_ADD_TO_INT,VMD_TEST_TUPLE_NUMBERS)
+ BOOST_PP_REPEAT(VMD_PP_TUPLE_SIZE(VMD_TEST_TUPLE_NUMBERS),VMD_TEST_ADD_TO_INT,VMD_TEST_TUPLE_NUMBERS)
   
   addedNumber += VMD_DATA_ELEMENT(5,VMD_PP_TUPLE_TO_DATA(VMD_TEST_TUPLE_NUMBERS));
   addedNumber += VMD_DATA_ELEMENT(3,BOOST_PP_TUPLE_REM(VMD_PP_TUPLE_SIZE(VMD_TEST_TUPLE_NUMBERS))(23,45,147,6,7743,12,67,43,89045,82));


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