|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70578 - branches/pplib/variadics/boost/preprocessor/list
From: eldiener_at_[hidden]
Date: 2011-03-26 13:19:23
Author: eldiener
Date: 2011-03-26 13:19:23 EDT (Sat, 26 Mar 2011)
New Revision: 70578
URL: http://svn.boost.org/trac/boost/changeset/70578
Log:
Update list.
Text files modified:
branches/pplib/variadics/boost/preprocessor/list/to_array.hpp | 5 +++++
branches/pplib/variadics/boost/preprocessor/list/to_seq.hpp | 5 +++++
2 files changed, 10 insertions(+), 0 deletions(-)
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-26 13:19:23 EDT (Sat, 26 Mar 2011)
@@ -12,6 +12,11 @@
# ifndef BOOST_PREPROCESSOR_LIST_TO_ARRAY_HPP
# define BOOST_PREPROCESSOR_LIST_TO_ARRAY_HPP
#
+#include <boost/preprocessor/tuple/to_array.hpp>
+#include <boost/preprocessor/list/to_tuple.hpp>
+#include <boost/preprocessor/list/size.hpp>
+#
#define BOOST_PP_LIST_TO_ARRAY(list) \
+ BOOST_PP_TUPLE_TO_ARRAY(BOOST_PP_LIST_SIZE(list),BOOST_PP_LIST_TO_TUPLE(list)) \
/**/
# 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-26 13:19:23 EDT (Sat, 26 Mar 2011)
@@ -12,6 +12,11 @@
# 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>
+#
#define BOOST_PP_LIST_TO_SEQ(list) \
+ BOOST_PP_TUPLE_TO_SEQ(BOOST_PP_LIST_SIZE(list),BOOST_PP_LIST_TO_TUPLE(list)) \
/**/
# 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