|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65851 - sandbox/variadic_macro_data/libs/variadic_macro_data/doc
From: eldiener_at_[hidden]
Date: 2010-10-08 23:51:16
Author: eldiener
Date: 2010-10-08 23:51:10 EDT (Fri, 08 Oct 2010)
New Revision: 65851
URL: http://svn.boost.org/trac/boost/changeset/65851
Log:
Updated comments
Text files modified:
sandbox/variadic_macro_data/libs/variadic_macro_data/doc/VMDComparison.qbk | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
Modified: sandbox/variadic_macro_data/libs/variadic_macro_data/doc/VMDComparison.qbk
==============================================================================
--- sandbox/variadic_macro_data/libs/variadic_macro_data/doc/VMDComparison.qbk (original)
+++ sandbox/variadic_macro_data/libs/variadic_macro_data/doc/VMDComparison.qbk 2010-10-08 23:51:10 EDT (Fri, 08 Oct 2010)
@@ -3,9 +3,9 @@
Boost PP already has the ability to pass variadic data
as a single macro argument through any of its data types.
It may then be reasonably asked why there is any need to
-use variadic macros instead.
+use variadic macros to pass preprocessor data instead.
-There are two major considerations for using variadic macros:
+There are two considerations for using variadic macros:
# The syntax for using variadic macros is the more natural
syntax for passing macro arguments. Providing a comma-separated
@@ -17,7 +17,7 @@
Functionality in this library, however, alleviates this last
requirement for tuples.
-On the other hand there are major considerations for using
+On the other hand there are considerations for using
Boost PP data types for passing variadic data to macros:
# Boost PP data types can be passed multiple times in any macro
@@ -29,8 +29,13 @@
manipulating the data in the data type.
Nonetheless I feel that the more natural syntax of
-variadic macro data still provides enough importance for using
-this library's facilities for variadic macros from the end-user's
-point of view.
+variadic macro data still provides enough importance for using
+this library's facilities from the end-user's point of view.
+A macro writer can design macros for the end-user which take
+variadic data using variadic macros while internally using
+Boost PP data types to manipulate that data and pass that data
+to other Boost PP macros. This library provides functionality
+to do just that with its macros which convert from variadic macro
+data to Boost PP data types.
[endsect]
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