Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72247 - branches/pplib/variadics/boost/preprocessor/list
From: eldiener_at_[hidden]
Date: 2011-05-28 11:02:33


Author: eldiener
Date: 2011-05-28 11:02:33 EDT (Sat, 28 May 2011)
New Revision: 72247
URL: http://svn.boost.org/trac/boost/changeset/72247

Log:
Updated implementation.
Text files modified:
   branches/pplib/variadics/boost/preprocessor/list/to_seq.hpp | 9 +++++----
   1 files changed, 5 insertions(+), 4 deletions(-)

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-05-28 11:02:33 EDT (Sat, 28 May 2011)
@@ -12,13 +12,14 @@
 # ifndef BOOST_PREPROCESSOR_LIST_TO_SEQ_HPP
 # define BOOST_PREPROCESSOR_LIST_TO_SEQ_HPP
 #
-#include <boost/preprocessor/tuple/to_seq.hpp>
-#include <boost/preprocessor/list/to_tuple.hpp>
-#include <boost/preprocessor/list/size.hpp>
+#include <boost/preprocessor/list/for_each.hpp>
 #
 # /* BOOST_PP_LIST_TO_SEQ */
 #
 #define BOOST_PP_LIST_TO_SEQ(list) \
- BOOST_PP_TUPLE_TO_SEQ(BOOST_PP_LIST_SIZE(list),BOOST_PP_LIST_TO_TUPLE(list)) \
+ BOOST_PP_LIST_FOR_EACH(BOOST_PP_LIST_TO_SEQ_MACRO, ~, list) \
+/**/
+#define BOOST_PP_LIST_TO_SEQ_MACRO(r,data,elem) \
+ (elem) \
 /**/
 # endif /* BOOST_PREPROCESSOR_LIST_TO_SEQ_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