Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70552 - in branches/pplib/variadics/boost/preprocessor: array list seq tuple
From: eldiener_at_[hidden]
Date: 2011-03-25 21:44:45


Author: eldiener
Date: 2011-03-25 21:44:44 EDT (Fri, 25 Mar 2011)
New Revision: 70552
URL: http://svn.boost.org/trac/boost/changeset/70552

Log:
Simple setups before coding.
Text files modified:
   branches/pplib/variadics/boost/preprocessor/array/to_list.hpp | 12 ++++--------
   branches/pplib/variadics/boost/preprocessor/array/to_seq.hpp | 9 ++++-----
   branches/pplib/variadics/boost/preprocessor/array/to_tuple.hpp | 9 ++++-----
   branches/pplib/variadics/boost/preprocessor/list/to_array.hpp | 12 ++++--------
   branches/pplib/variadics/boost/preprocessor/list/to_seq.hpp | 12 ++++--------
   branches/pplib/variadics/boost/preprocessor/seq/to_list.hpp | 12 ++++--------
   branches/pplib/variadics/boost/preprocessor/tuple/to_array.hpp | 12 ++++--------
   7 files changed, 28 insertions(+), 50 deletions(-)

Modified: branches/pplib/variadics/boost/preprocessor/array/to_list.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/array/to_list.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/array/to_list.hpp 2011-03-25 21:44:44 EDT (Fri, 25 Mar 2011)
@@ -9,13 +9,9 @@
 #
 # /* See http://www.boost.org for most recent version. */
 #
-# ifndef BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
-# define BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# ifndef BOOST_PREPROCESSOR_ARRAY_TO_LIST_HPP
+# define BOOST_PREPROCESSOR_ARRAY_TO_LIST_HPP
 #
-#include <boost/preprocessor/tuple/enum.hpp>
-#include <boost/preprocessor/array/data.hpp>
-#
-#define BOOST_PP_ARRAY_ENUM(array) \
- BOOST_PP_TUPLE_ENUM(BOOST_PP_ARRAY_DATA(array)) \
+#define BOOST_PP_ARRAY_TO_LIST(array) \
 /**/
-# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# endif // BOOST_PREPROCESSOR_ARRAY_TO_LIST_HPP

Modified: branches/pplib/variadics/boost/preprocessor/array/to_seq.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/array/to_seq.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/array/to_seq.hpp 2011-03-25 21:44:44 EDT (Fri, 25 Mar 2011)
@@ -9,13 +9,12 @@
 #
 # /* See http://www.boost.org for most recent version. */
 #
-# ifndef BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
-# define BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# ifndef BOOST_PREPROCESSOR_ARRAY_TO_SEQ_HPP
+# define BOOST_PREPROCESSOR_ARRAY_TO_SEQ_HPP
 #
 #include <boost/preprocessor/tuple/enum.hpp>
 #include <boost/preprocessor/array/data.hpp>
 #
-#define BOOST_PP_ARRAY_ENUM(array) \
- BOOST_PP_TUPLE_ENUM(BOOST_PP_ARRAY_DATA(array)) \
+#define BOOST_PP_ARRAY_TO_SEQ(array) \
 /**/
-# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# endif // BOOST_PREPROCESSOR_ARRAY_TO_SEQ_HPP

Modified: branches/pplib/variadics/boost/preprocessor/array/to_tuple.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/array/to_tuple.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/array/to_tuple.hpp 2011-03-25 21:44:44 EDT (Fri, 25 Mar 2011)
@@ -9,13 +9,12 @@
 #
 # /* See http://www.boost.org for most recent version. */
 #
-# ifndef BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
-# define BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# ifndef BOOST_PREPROCESSOR_ARRAY_TO_TUPLE_HPP
+# define BOOST_PREPROCESSOR_ARRAY_TO_TUPLE_HPP
 #
 #include <boost/preprocessor/tuple/enum.hpp>
 #include <boost/preprocessor/array/data.hpp>
 #
-#define BOOST_PP_ARRAY_ENUM(array) \
- BOOST_PP_TUPLE_ENUM(BOOST_PP_ARRAY_DATA(array)) \
+#define BOOST_PP_ARRAY_TO_TUPLE(array) \
 /**/
-# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# endif // BOOST_PREPROCESSOR_ARRAY_TO_TUPLE_HPP

Modified: branches/pplib/variadics/boost/preprocessor/list/to_array.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/list/to_array.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/list/to_array.hpp 2011-03-25 21:44:44 EDT (Fri, 25 Mar 2011)
@@ -9,13 +9,9 @@
 #
 # /* See http://www.boost.org for most recent version. */
 #
-# ifndef BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
-# define BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# ifndef BOOST_PREPROCESSOR_LIST_TO_ARRAY_HPP
+# define BOOST_PREPROCESSOR_LIST_TO_ARRAY_HPP
 #
-#include <boost/preprocessor/tuple/enum.hpp>
-#include <boost/preprocessor/array/data.hpp>
-#
-#define BOOST_PP_ARRAY_ENUM(array) \
- BOOST_PP_TUPLE_ENUM(BOOST_PP_ARRAY_DATA(array)) \
+#define BOOST_PP_LIST_TO_ARRAY(list) \
 /**/
-# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# endif // BOOST_PREPROCESSOR_LIST_TO_ARRAY_HPP

Modified: branches/pplib/variadics/boost/preprocessor/list/to_seq.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/list/to_seq.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/list/to_seq.hpp 2011-03-25 21:44:44 EDT (Fri, 25 Mar 2011)
@@ -9,13 +9,9 @@
 #
 # /* See http://www.boost.org for most recent version. */
 #
-# ifndef BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
-# define BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# ifndef BOOST_PREPROCESSOR_LIST_TO_SEQ_HPP
+# define BOOST_PREPROCESSOR_LIST_TO_SEQ_HPP
 #
-#include <boost/preprocessor/tuple/enum.hpp>
-#include <boost/preprocessor/array/data.hpp>
-#
-#define BOOST_PP_ARRAY_ENUM(array) \
- BOOST_PP_TUPLE_ENUM(BOOST_PP_ARRAY_DATA(array)) \
+#define BOOST_PP_LIST_TO_SEQ(list) \
 /**/
-# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# endif // BOOST_PREPROCESSOR_LIST_TO_SEQ_HPP

Modified: branches/pplib/variadics/boost/preprocessor/seq/to_list.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/seq/to_list.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/seq/to_list.hpp 2011-03-25 21:44:44 EDT (Fri, 25 Mar 2011)
@@ -9,13 +9,9 @@
 #
 # /* See http://www.boost.org for most recent version. */
 #
-# ifndef BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
-# define BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# ifndef BOOST_PREPROCESSOR_SEQ_TO_LIST_HPP
+# define BOOST_PREPROCESSOR_SEQ_TO_LIST_HPP
 #
-#include <boost/preprocessor/tuple/enum.hpp>
-#include <boost/preprocessor/array/data.hpp>
-#
-#define BOOST_PP_ARRAY_ENUM(array) \
- BOOST_PP_TUPLE_ENUM(BOOST_PP_ARRAY_DATA(array)) \
+#define BOOST_PP_SEQ_TO_LIST(seq) \
 /**/
-# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# endif // BOOST_PREPROCESSOR_SEQ_TO_LIST_HPP

Modified: branches/pplib/variadics/boost/preprocessor/tuple/to_array.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/tuple/to_array.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/tuple/to_array.hpp 2011-03-25 21:44:44 EDT (Fri, 25 Mar 2011)
@@ -9,13 +9,9 @@
 #
 # /* See http://www.boost.org for most recent version. */
 #
-# ifndef BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
-# define BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# ifndef BOOST_PREPROCESSOR_TUPLE_TO_ARRAY_HPP
+# define BOOST_PREPROCESSOR_TUPLE_TO_ARRAY_HPP
 #
-#include <boost/preprocessor/tuple/enum.hpp>
-#include <boost/preprocessor/array/data.hpp>
-#
-#define BOOST_PP_ARRAY_ENUM(array) \
- BOOST_PP_TUPLE_ENUM(BOOST_PP_ARRAY_DATA(array)) \
+#define BOOST_PP_TUPLE_TO_ARRAY(array) \
 /**/
-# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# endif // BOOST_PREPROCESSOR_TUPLE_TO_ARRAY_HPP


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