|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65693 - 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-30 12:26:05
Author: eldiener
Date: 2010-09-30 12:26:01 EDT (Thu, 30 Sep 2010)
New Revision: 65693
URL: http://svn.boost.org/trac/boost/changeset/65693
Log:
Updated element access macro name
Text files modified:
sandbox/variadic_macro_data/boost/variadic_macro_data/VariadicMacroData.hpp | 7 ++++---
sandbox/variadic_macro_data/libs/variadic_macro_data/doc/html/_variadic_macro_data_8hpp.html | 11 ++++++-----
sandbox/variadic_macro_data/libs/variadic_macro_data/doc/html/globals.html | 4 ++--
sandbox/variadic_macro_data/libs/variadic_macro_data/doc/html/globals_defs.html | 4 ++--
sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestData.cpp | 4 ++--
sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsArray.cpp | 2 +-
sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsList.cpp | 2 +-
sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsSequence.cpp | 2 +-
sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsTuple.cpp | 6 +++---
9 files changed, 22 insertions(+), 20 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-30 12:26:01 EDT (Thu, 30 Sep 2010)
@@ -53,7 +53,7 @@
- Macros which directly support variadic macro data processing.
- VMD_DATA_SIZE(...)
- - VMD_DATA_ELEMENT(n,...)
+ - VMD_DATA_ELEM(n,...)
- Macros which convert variadic macro data to Boost PP
data types.
- VMD_DATA_TO_PP_TUPLE(...)
@@ -70,6 +70,7 @@
type by not requiring that a tuple size be passed.
- VMD_PP_TUPLE_SIZE(tuple)
- VMD_PP_TUPLE_ELEM(n,tuple)
+ - VMD_PP_TUPLE_REM_CTOR(tuple)
- VMD_PP_TUPLE_REVERSE(tuple)
- VMD_PP_TUPLE_TO_LIST(tuple)
- VMD_PP_TUPLE_TO_SEQ(tuple)
@@ -105,8 +106,8 @@
preprocessing token.
*/
-#define VMD_DATA_ELEMENT(n,...) \
- VMD_DETAIL_DATA_ELEMENT(n,__VA_ARGS__) \
+#define VMD_DATA_ELEM(n,...) \
+ VMD_DETAIL_DATA_ELEM(n,__VA_ARGS__) \
/**/
/// Expand to a Boost PP tuple data type.
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-30 12:26:01 EDT (Thu, 30 Sep 2010)
@@ -34,8 +34,8 @@
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </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"> </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 </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"> </td><td class="mdescRight">Expands to a particular variadic macro data argument. <br/></td></tr>
+<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#ab6761e3c2355798e6f6d48c93ff5554f">VMD_DATA_ELEM</a>(n,...)</td></tr>
+<tr><td class="mdescLeft"> </td><td class="mdescRight">Expands to a particular variadic macro data argument. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </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"> </td><td class="mdescRight">Expand to a Boost PP tuple data type. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="_variadic_macro_data_8hpp.html#a23099c5dda37ba7353ecdeb47a039aec">VMD_DATA_TO_PP_ARRAY</a>(...)</td></tr>
@@ -76,7 +76,7 @@
<ul>
<li>Macros which directly support variadic macro data processing.<ul>
<li>VMD_DATA_SIZE(...)</li>
-<li>VMD_DATA_ELEMENT(n,...)</li>
+<li>VMD_DATA_ELEM(n,...)</li>
</ul>
</li>
<li>Macros which convert variadic macro data to Boost PP data types.<ul>
@@ -96,6 +96,7 @@
<li>Macros which ease the use of the Boost PP tuple data type by not requiring that a tuple size be passed.<ul>
<li><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></li>
<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#a0e31d2b35fa81c051b83bc6b9556b36e" title="Expands to a series of tokens which are equivalent to removing the parentheses from a tuple...">VMD_PP_TUPLE_REM_CTOR(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>
@@ -126,12 +127,12 @@
</div>
</div>
-<a class="anchor" id="afc59f250855d3174c9f5ecbdaa1b7027"></a><!-- doxytag: member="VariadicMacroData.hpp::VMD_DATA_ELEMENT" ref="afc59f250855d3174c9f5ecbdaa1b7027" args="(n,...)" -->
+<a class="anchor" id="ab6761e3c2355798e6f6d48c93ff5554f"></a><!-- doxytag: member="VariadicMacroData.hpp::VMD_DATA_ELEM" ref="ab6761e3c2355798e6f6d48c93ff5554f" args="(n,...)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
- <td class="memname">#define VMD_DATA_ELEMENT</td>
+ <td class="memname">#define VMD_DATA_ELEM</td>
<td>(</td>
<td class="paramtype"> </td>
<td class="paramname">n, </td>
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-30 12:26:01 EDT (Thu, 30 Sep 2010)
@@ -30,8 +30,8 @@
</div>
<div class="contents">
Here is a list of all documented file members with links to the documentation:<ul>
-<li>VMD_DATA_ELEMENT
-: <a class="el" href="_variadic_macro_data_8hpp.html#afc59f250855d3174c9f5ecbdaa1b7027">VariadicMacroData.hpp</a>
+<li>VMD_DATA_ELEM
+: <a class="el" href="_variadic_macro_data_8hpp.html#ab6761e3c2355798e6f6d48c93ff5554f">VariadicMacroData.hpp</a>
</li>
<li>VMD_DATA_SIZE
: <a class="el" href="_variadic_macro_data_8hpp.html#a9c702f476a06a6e25e168dba9e5f169b">VariadicMacroData.hpp</a>
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-30 12:26:01 EDT (Thu, 30 Sep 2010)
@@ -30,8 +30,8 @@
</div>
<div class="contents">
<ul>
-<li>VMD_DATA_ELEMENT
-: <a class="el" href="_variadic_macro_data_8hpp.html#afc59f250855d3174c9f5ecbdaa1b7027">VariadicMacroData.hpp</a>
+<li>VMD_DATA_ELEM
+: <a class="el" href="_variadic_macro_data_8hpp.html#ab6761e3c2355798e6f6d48c93ff5554f">VariadicMacroData.hpp</a>
</li>
<li>VMD_DATA_SIZE
: <a class="el" href="_variadic_macro_data_8hpp.html#a9c702f476a06a6e25e168dba9e5f169b">VariadicMacroData.hpp</a>
Modified: sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestData.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestData.cpp (original)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestData.cpp 2010-09-30 12:26:01 EDT (Thu, 30 Sep 2010)
@@ -12,7 +12,7 @@
BOOST_TEST_EQ(aSize,4);
- int anElement(VMD_DATA_ELEMENT(2,23,ll,678,456));
+ int anElement(VMD_DATA_ELEM(2,23,ll,678,456));
BOOST_TEST_EQ(anElement,678);
@@ -22,7 +22,7 @@
BOOST_TEST_EQ(numberOfTypes,5);
- typedef std::vector<VMD_DATA_ELEMENT(0,VMD_TEST_EXPAND(unsigned,long,short,unsigned long))>::value_type vtype;
+ typedef std::vector<VMD_DATA_ELEM(0,VMD_TEST_EXPAND(unsigned,long,short,unsigned long))>::value_type vtype;
BOOST_TEST((boost::is_same<vtype,int>::value));
Modified: sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsArray.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsArray.cpp (original)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsArray.cpp 2010-09-30 12:26:01 EDT (Thu, 30 Sep 2010)
@@ -30,7 +30,7 @@
BOOST_PP_REPEAT(BOOST_PP_ARRAY_SIZE(VMD_TEST_ARRAY_NUMBERS),VMD_TEST_ADD_TO_INT,VMD_TEST_ARRAY_NUMBERS)
- addedNumber += VMD_DATA_ELEMENT(5,VMD_PP_ARRAY_TO_DATA(VMD_TEST_ARRAY_NUMBERS));
+ addedNumber += VMD_DATA_ELEM(5,VMD_PP_ARRAY_TO_DATA(VMD_TEST_ARRAY_NUMBERS));
BOOST_TEST_EQ(addedNumber,47+69+23+985+458+77+12457+89+99872+77);
Modified: sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsList.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsList.cpp (original)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsList.cpp 2010-09-30 12:26:01 EDT (Thu, 30 Sep 2010)
@@ -30,7 +30,7 @@
BOOST_PP_REPEAT(BOOST_PP_LIST_SIZE(VMD_TEST_LIST_NUMBERS),VMD_TEST_ADD_TO_INT,VMD_TEST_LIST_NUMBERS)
- addedNumber += VMD_DATA_ELEMENT(8,VMD_PP_LIST_TO_DATA(VMD_TEST_LIST_NUMBERS));
+ addedNumber += VMD_DATA_ELEM(8,VMD_PP_LIST_TO_DATA(VMD_TEST_LIST_NUMBERS));
BOOST_TEST_EQ(addedNumber,34+23467+12+9984+34+678+7890+1235678+3489+1+8965+345+3489);
Modified: sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsSequence.cpp
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsSequence.cpp (original)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/test/TestDataAsSequence.cpp 2010-09-30 12:26:01 EDT (Thu, 30 Sep 2010)
@@ -30,7 +30,7 @@
BOOST_PP_REPEAT(BOOST_PP_SEQ_SIZE(VMD_TEST_SEQ_NUMBERS),VMD_TEST_ADD_TO_INT,VMD_TEST_SEQ_NUMBERS)
- addedNumber += VMD_DATA_ELEMENT(2,VMD_PP_SEQ_TO_DATA(VMD_TEST_SEQ_NUMBERS));
+ addedNumber += VMD_DATA_ELEM(2,VMD_PP_SEQ_TO_DATA(VMD_TEST_SEQ_NUMBERS));
BOOST_TEST_EQ(addedNumber,4578+24+789436+78345+902+345+860+667433+56+727+47891+789436);
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-30 12:26:01 EDT (Thu, 30 Sep 2010)
@@ -40,9 +40,9 @@
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));
- addedNumber += VMD_DATA_ELEMENT(4,VMD_PP_TUPLE_REM_CTOR(VMD_TEST_TUPLE_NUMBERS));
+ addedNumber += VMD_DATA_ELEM(5,VMD_PP_TUPLE_TO_DATA(VMD_TEST_TUPLE_NUMBERS));
+ addedNumber += VMD_DATA_ELEM(3,BOOST_PP_TUPLE_REM(VMD_PP_TUPLE_SIZE(VMD_TEST_TUPLE_NUMBERS))(23,45,147,6,7743,12,67,43,89045,82));
+ addedNumber += VMD_DATA_ELEM(4,VMD_PP_TUPLE_REM_CTOR(VMD_TEST_TUPLE_NUMBERS));
BOOST_PP_TUPLE_EAT(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