Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70548 - in branches/pplib/variadics/boost/preprocessor: array config facilities list seq tuple variadic variadic/detail
From: eldiener_at_[hidden]
Date: 2011-03-25 19:52:36


Author: eldiener
Date: 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
New Revision: 70548
URL: http://svn.boost.org/trac/boost/changeset/70548

Log:
Added files and change.
Added:
   branches/pplib/variadics/boost/preprocessor/array/enum.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/array/to_list.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/array/to_seq.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/array/to_tuple.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/config/variadics.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/facilities/overload.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/list/to_array.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/list/to_seq.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/seq/to_list.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/tuple/enum.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/tuple/size.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/tuple/to_array.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/variadic/
   branches/pplib/variadics/boost/preprocessor/variadic/detail/
   branches/pplib/variadics/boost/preprocessor/variadic/detail/elem.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/variadic/detail/size.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/variadic/detail/to_array.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/variadic/detail/to_list.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/variadic/detail/to_seq.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/variadic/detail/to_tuple.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/variadic/elem.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/variadic/size.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/variadic/to_array.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/variadic/to_list.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/variadic/to_seq.hpp (contents, props changed)
   branches/pplib/variadics/boost/preprocessor/variadic/to_tuple.hpp (contents, props changed)
Text files modified:
   branches/pplib/variadics/boost/preprocessor/tuple/elem.hpp | 16 ++++++++++++++++
   1 files changed, 16 insertions(+), 0 deletions(-)

Added: branches/pplib/variadics/boost/preprocessor/array/enum.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/array/enum.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,21 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# define BOOST_PREPROCESSOR_ARRAY_ENUM_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)) \
+/**/
+# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP

Added: branches/pplib/variadics/boost/preprocessor/array/to_list.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/array/to_list.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,21 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# define BOOST_PREPROCESSOR_ARRAY_ENUM_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)) \
+/**/
+# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP

Added: branches/pplib/variadics/boost/preprocessor/array/to_seq.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/array/to_seq.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,21 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# define BOOST_PREPROCESSOR_ARRAY_ENUM_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)) \
+/**/
+# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP

Added: branches/pplib/variadics/boost/preprocessor/array/to_tuple.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/array/to_tuple.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,21 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# define BOOST_PREPROCESSOR_ARRAY_ENUM_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)) \
+/**/
+# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP

Added: branches/pplib/variadics/boost/preprocessor/config/variadics.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/config/variadics.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,23 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_CONFIG_VARIADICS_HPP
+# define BOOST_PREPROCESSOR_CONFIG_VARIADICS_HPP
+#
+# include <boost/config.hpp>
+#
+# if !defined(BOOST_NO_VARIADIC_MACROS)
+# define BOOST_PP_VARIADICS 1
+# else
+# define BOOST_PP_VARIADICS 0
+# endif
+#
+# endif // BOOST_PREPROCESSOR_CONFIG_VARIADICS_HPP

Added: branches/pplib/variadics/boost/preprocessor/facilities/overload.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/facilities/overload.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,27 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_FACILITIES_OVERLOAD_HPP
+# define BOOST_PREPROCESSOR_FACILITIES_OVERLOAD_HPP
+#
+# include <boost/preprocessor/config/variadics.hpp>
+#
+#if BOOST_PP_VARIADICS
+#
+# include <boost/preprocessor/cat.hpp>
+# include <boost/preprocessor/variadic/size.hpp>
+#
+#define BOOST_PP_OVERLOAD(prefix, ...) \
+ BOOST_PP_CAT(prefix, BOOST_PP_VARIADIC_SIZE(__VA_ARGS__)) \
+/**/
+#
+#endif // BOOST_PP_VARIADICS
+#endif // BOOST_PREPROCESSOR_FACILITIES_OVERLOAD_HPP

Added: branches/pplib/variadics/boost/preprocessor/list/to_array.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/list/to_array.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,21 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# define BOOST_PREPROCESSOR_ARRAY_ENUM_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)) \
+/**/
+# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP

Added: branches/pplib/variadics/boost/preprocessor/list/to_seq.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/list/to_seq.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,21 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# define BOOST_PREPROCESSOR_ARRAY_ENUM_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)) \
+/**/
+# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP

Added: branches/pplib/variadics/boost/preprocessor/seq/to_list.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/seq/to_list.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,21 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# define BOOST_PREPROCESSOR_ARRAY_ENUM_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)) \
+/**/
+# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP

Modified: branches/pplib/variadics/boost/preprocessor/tuple/elem.hpp
==============================================================================
--- branches/pplib/variadics/boost/preprocessor/tuple/elem.hpp (original)
+++ branches/pplib/variadics/boost/preprocessor/tuple/elem.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -14,6 +14,21 @@
 # ifndef BOOST_PREPROCESSOR_TUPLE_ELEM_HPP
 # define BOOST_PREPROCESSOR_TUPLE_ELEM_HPP
 #
+# include <boost/preprocessor/config/variadics.hpp>
+#
+# if BOOST_PP_VARIADICS
+#
+# include <boost/preprocessor/facilities/overload.hpp>
+# include <boost/preprocessor/tuple/enum.hpp>
+# include <boost/preprocessor/variadic/elem.hpp>
+#
+# define BOOST_PP_TUPLE_ELEM(...) \
+ BOOST_PP_OVERLOAD(BOOST_PP_TUPLE_ELEM_, __VA_ARGS__)(__VA_ARGS__) \
+ /**/
+# define BOOST_PP_TUPLE_ELEM_2(i, tuple) BOOST_PP_VARIADIC_ELEM(i,BOOST_PP_TUPLE_ENUM(tuple))
+# define BOOST_PP_TUPLE_ELEM_3(size, i, tuple) BOOST_PP_TUPLE_ELEM_2(i, tuple)
+# else
+#
 # include <boost/preprocessor/config/config.hpp>
 #
 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MWCC()
@@ -382,4 +397,5 @@
 # define BOOST_PP_TUPLE_ELEM_25_23(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y) x
 # define BOOST_PP_TUPLE_ELEM_25_24(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y) y
 #
+# endif // BOOST_PP_VARIADICS
 # endif

Added: branches/pplib/variadics/boost/preprocessor/tuple/enum.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/tuple/enum.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,44 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_TUPLE_ENUM_HPP
+# define BOOST_PREPROCESSOR_TUPLE_ENUM_HPP
+#
+# include <boost/preprocessor/config/variadics.hpp>
+#
+#if BOOST_PP_VARIADICS
+#
+# include <boost/preprocessor/facilties/overload.hpp>
+#
+#define BOOST_PP_TUPLE_ENUM(...) \
+ BOOST_PP_OVERLOAD(BOOST_PP_TUPLE_ENUM_, __VA_ARGS__)(__VA_ARGS__) \
+/**/
+#define BOOST_PP_TUPLE_ENUM_1(tuple) \
+ BOOST_PP_TUPLE_DETAIL_ENUM(tuple) \
+/**/
+#define BOOST_PP_TUPLE_ENUM_2(size, tuple) \
+ BOOST_PP_TUPLE_ENUM_1(tuple) \
+/**/
+#define BOOST_PP_TUPLE_DETAIL_REMOVE_TUPLE_PARENS(...) \
+ __VA_ARGS__ \
+/**/
+#define BOOST_PP_TUPLE_DETAIL_ENUM(tuple) \
+ BOOST_PP_TUPLE_DETAIL_REMOVE_TUPLE_PARENS tuple \
+/**/
+#else
+#
+#include <boost/preprocessor/tuple/rem.hpp>
+#
+#define BOOST_PP_TUPLE_ENUM(size, tuple) \
+ BOOST_PP_TUPLE_REM_CTOR(size, tuple) \
+/**/
+#endif // BOOST_PP_VARIADICS
+#endif // BOOST_PREPROCESSOR_TUPLE_ENUM_HPP

Added: branches/pplib/variadics/boost/preprocessor/tuple/size.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/tuple/size.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,24 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_TUPLE_SIZE_HPP
+# define BOOST_PREPROCESSOR_TUPLE_SIZE_HPP
+#
+# include <boost/preprocessor/config/variadics.hpp>
+#
+#if BOOST_PP_VARIADICS
+#
+# include <boost/preprocessor/variadic/size.hpp>
+#
+#define BOOST_PP_TUPLE_SIZE(tuple) BOOST_PP_VARIADIC_SIZE tuple
+#
+#endif // BOOST_PP_VARIADICS
+#endif // BOOST_PREPROCESSOR_TUPLE_SIZE_HPP

Added: branches/pplib/variadics/boost/preprocessor/tuple/to_array.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/tuple/to_array.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,21 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_ARRAY_ENUM_HPP
+# define BOOST_PREPROCESSOR_ARRAY_ENUM_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)) \
+/**/
+# endif // BOOST_PREPROCESSOR_ARRAY_ENUM_HPP

Added: branches/pplib/variadics/boost/preprocessor/variadic/detail/elem.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/variadic/detail/elem.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,104 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_VARIADIC_DETAIL_ELEM_HPP
+# define BOOST_PREPROCESSOR_VARIADIC_DETAIL_ELEM_HPP
+#
+# include <boost/preprocessor/config/variadics.hpp>
+#
+#if BOOST_PP_VARIADICS
+#
+# include <boost/preprocessor/config/config.hpp>
+#
+# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
+# include <boost/preprocessor/cat.hpp>
+# include <boost/preprocessor/facilities/empty.hpp>
+# endif
+#
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_0(p0, ...) p0
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_1(p0, p1, ...) p1
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_2(p0, p1, p2, ...) p2
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_3(p0, p1, p2, p3, ...) p3
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_4(p0, p1, p2, p3, p4, ...) p4
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_5(p0, p1, p2, p3, p4, p5, ...) p5
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_6(p0, p1, p2, p3, p4, p5, p6, ...) p6
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_7(p0, p1, p2, p3, p4, p5, p6, p7, ...) p7
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_8(p0, p1, p2, p3, p4, p5, p6, p7, p8, ...) p8
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_9(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, ...) p9
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_10(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, ...) p10
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_11(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, ...) p11
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_12(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, ...) p12
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_13(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, ...) p13
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_14(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, ...) p14
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_15(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, ...) p15
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_16(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, ...) p16
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_17(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, ...) p17
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_18(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, ...) p18
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_19(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, ...) p19
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_20(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, ...) p20
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_21(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, ...) p21
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_22(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, ...) p22
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_23(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, ...) p23
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_24(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, ...) p24
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_25(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, ...) p25
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_26(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, ...) p26
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_27(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, ...) p27
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_28(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, ...) p28
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_29(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, ...) p29
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_30(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, ...) p30
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_31(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, ...) p31
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_32(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, ...) p32
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_33(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, ...) p33
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_34(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, ...) p34
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_35(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, ...) p35
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_36(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, ...) p36
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_37(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, ...) p37
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_38(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, ...) p38
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_39(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, ...) p39
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_40(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, ...) p40
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_41(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, ...) p41
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_42(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, ...) p42
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_43(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, ...) p43
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_44(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, ...) p44
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_45(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, ...) p45
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_46(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, ...) p46
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_47(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, ...) p47
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_48(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, ...) p48
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_49(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, ...) p49
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_50(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, ...) p50
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_51(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, ...) p51
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_52(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, ...) p52
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_53(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, ...) p53
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_54(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, ...) p54
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_55(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, ...) p55
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_56(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, ...) p56
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_57(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, ...) p57
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_58(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, ...) p58
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_59(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, ...) p59
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_60(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, ...) p60
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_61(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, ...) p61
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_62(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, ...) p62
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_63(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17, p18, p19, p20, p21, p22, p23, p24, p25, p26, p27, p28, p29, p30, p31, p32, p33, p34, p35, p36, p37, p38, p39, p40, p41, p42, p43, p44, p45, p46, p47, p48, p49, p50, p51, p52, p53, p54, p55, p56, p57, p58, p59, p60, p61, p62, p63, ...) p63
+#
+#define BOOST_PP_VARIADIC_DETAIL_CAT(a, ...) BOOST_PP_VARIADIC_DETAIL_PRIMITIVE_CAT(a, __VA_ARGS__)
+#define BOOST_PP_VARIADIC_DETAIL_PRIMITIVE_CAT(a, ...) a ## __VA_ARGS__
+# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM(n,...) \
+ BOOST_PP_CAT(BOOST_PP_VARIADIC_DETAIL_CAT(BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_, n)(__VA_ARGS__,),BOOST_PP_EMPTY()) \
+/**/
+#else
+#define BOOST_PP_VARIADIC_DETAIL_DATA_ELEM(n,...) \
+ BOOST_PP_VARIADIC_DETAIL_CAT(BOOST_PP_VARIADIC_DETAIL_DATA_ELEM_, n)(__VA_ARGS__,) \
+/**/
+#endif
+#
+#endif // BOOST_PP_VARIADICS
+#endif // BOOST_PREPROCESSOR_VARIADIC_DETAIL_ELEM_HPP

Added: branches/pplib/variadics/boost/preprocessor/variadic/detail/size.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/variadic/detail/size.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,60 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_VARIADIC_DETAIL_SIZE_HPP
+# define BOOST_PREPROCESSOR_VARIADIC_DETAIL_SIZE_HPP
+#
+# include <boost/preprocessor/config/variadics.hpp>
+#
+#if BOOST_PP_VARIADICS
+#
+# include <boost/preprocessor/config/config.hpp>
+#
+# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
+# include <boost/preprocessor/arithmetic/add.hpp>
+# endif
+#
+#define BOOST_PP_VARIADIC_DETAIL_ARG_N( \
+ A1,A2,A3,A4,A5,A6,A7,A8,A9,A10, \
+ A11,A12,A13,A14,A15,A16,A17,A18,A19,A20, \
+ A21,A22,A23,A24,A25,A26,A27,A28,A29,A30, \
+ A31,A32,A33,A34,A35,A36,A37,A38,A39,A40, \
+ A41,A42,A43,A44,A45,A46,A47,A48,A49,A50, \
+ A51,A52,A53,A54,A55,A56,A57,A58,A59,A60, \
+ A61,A62,A63,N,...) N \
+/**/
+#define BOOST_PP_VARIADIC_DETAIL_RSEQ_N() \
+ 63,62,61,60, \
+ 59,58,57,56,55,54,53,52,51,50, \
+ 49,48,47,46,45,44,43,42,41,40, \
+ 39,38,37,36,35,34,33,32,31,30, \
+ 29,28,27,26,25,24,23,22,21,20, \
+ 19,18,17,16,15,14,13,12,11,10, \
+ 9,8,7,6,5,4,3,2,1,0 \
+/**/
+#define BOOST_PP_VARIADIC_DETAIL_APPLY_I(macro, args) \
+ macro args \
+/**/
+#define BOOST_PP_VARIADIC_DETAIL_APPLY(macro, args) \
+ BOOST_PP_VARIADIC_DETAIL_APPLY_I(macro, args) \
+/**/
+# if BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_MSVC()
+#define BOOST_PP_VARIADIC_DETAIL_SIZE(...) \
+ BOOST_PP_ADD(BOOST_PP_VARIADIC_DETAIL_APPLY(BOOST_PP_VARIADIC_DETAIL_ARG_N, (__VA_ARGS__, BOOST_PP_VARIADIC_DETAIL_RSEQ_N())),0) \
+/**/
+#else
+#define BOOST_PP_VARIADIC_DETAIL_SIZE(...) \
+ BOOST_PP_VARIADIC_DETAIL_APPLY(BOOST_PP_VARIADIC_DETAIL_ARG_N, (__VA_ARGS__, BOOST_PP_VARIADIC_DETAIL_RSEQ_N())) \
+/**/
+#endif
+#
+#endif // BOOST_PP_VARIADICS
+#endif // BOOST_PREPROCESSOR_VARIADIC_DETAIL_SIZE_HPP

Added: branches/pplib/variadics/boost/preprocessor/variadic/detail/to_array.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/variadic/detail/to_array.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,26 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_VARIADIC_DETAIL_TO_ARRAY_HPP
+# define BOOST_PREPROCESSOR_VARIADIC_DETAIL_TO_ARRAY_HPP
+#
+# include <boost/preprocessor/config/variadics.hpp>
+#
+#if BOOST_PP_VARIADICS
+#
+#include "size.hpp"
+#include "to_tuple.hpp"
+#
+#define BOOST_PP_VARIADIC_DETAIL_TO_ARRAY(...) \
+ ( BOOST_PP_VARIADIC_DETAIL_SIZE(__VA_ARGS__) , BOOST_PP_VARIADIC_DETAIL_TO_TUPLE(__VA_ARGS__)) \
+/**/
+#endif // BOOST_PP_VARIADICS
+#endif // BOOST_PREPROCESSOR_VARIADIC_DETAIL_TO_ARRAY_HPP

Added: branches/pplib/variadics/boost/preprocessor/variadic/detail/to_list.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/variadic/detail/to_list.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,30 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_VARIADIC_DETAIL_TO_LIST_HPP
+# define BOOST_PREPROCESSOR_VARIADIC_DETAIL_TO_LIST_HPP
+#
+# include <boost/preprocessor/config/variadics.hpp>
+#
+#if BOOST_PP_VARIADICS
+#
+#include <boost/preprocessor/tuple/to_list.hpp>
+#include "size.hpp"
+#include "to_tuple.hpp"
+#
+#define BOOST_PP_VARIADIC_DETAIL_TO_LIST(...) \
+ BOOST_PP_VARIADIC_DETAIL_TUPLE_TO_LIST(BOOST_PP_VARIADIC_DETAIL_SIZE(__VA_ARGS__),BOOST_PP_VARIADIC_DETAIL_TO_TUPLE(__VA_ARGS__)) \
+/**/
+#define BOOST_PP_VARIADIC_DETAIL_TUPLE_TO_LIST(size,tuple) \
+ BOOST_PP_TUPLE_TO_LIST(size,tuple) \
+/**/
+#endif // BOOST_PP_VARIADICS
+#endif // BOOST_PREPROCESSOR_VARIADIC_DETAIL_TO_LIST_HPP

Added: branches/pplib/variadics/boost/preprocessor/variadic/detail/to_seq.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/variadic/detail/to_seq.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,30 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_DETAIL_VARIADIC_TO_SEQ_HPP
+# define BOOST_PREPROCESSOR_DETAIL_VARIADIC_TO_SEQ_HPP
+#
+# include <boost/preprocessor/config/variadics.hpp>
+#
+#if BOOST_PP_VARIADICS
+#
+#include <boost/preprocessor/tuple/to_seq.hpp>
+#include "size.hpp"
+#include "to_tuple.hpp"
+#
+#define BOOST_PP_VARIADIC_DETAIL_TO_SEQ(...) \
+ BOOST_PP_VARIADIC_DETAIL_TUPLE_TO_SEQ(BOOST_PP_VARIADIC_DETAIL_SIZE(__VA_ARGS__),BOOST_PP_VARIADIC_DETAIL_TO_TUPLE(__VA_ARGS__)) \
+/**/
+#define BOOST_PP_VARIADIC_DETAIL_TUPLE_TO_SEQ(size,tuple) \
+ BOOST_PP_TUPLE_TO_SEQ(size,tuple) \
+/**/
+#endif // BOOST_PP_VARIADICS
+#endif // BOOST_PREPROCESSOR_DETAIL_VARIADIC_TO_SEQ_HPP

Added: branches/pplib/variadics/boost/preprocessor/variadic/detail/to_tuple.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/variadic/detail/to_tuple.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,23 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_VARIADIC_DETAIL_TO_TUPLE_HPP
+# define BOOST_PREPROCESSOR_VARIADIC_DETAIL_TO_TUPLE_HPP
+#
+# include <boost/preprocessor/config/variadics.hpp>
+#
+#if BOOST_PP_VARIADICS
+#
+#define BOOST_PP_VARIADIC_DETAIL_TO_TUPLE(...) \
+ ( __VA_ARGS__ ) \
+/**/
+#endif // BOOST_PP_VARIADICS
+#endif // BOOST_PREPROCESSOR_VARIADIC_DETAIL_TO_TUPLE_HPP

Added: branches/pplib/variadics/boost/preprocessor/variadic/elem.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/variadic/elem.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,26 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_VARIADIC_ELEM_HPP
+# define BOOST_PREPROCESSOR_VARIADIC_ELEM_HPP
+#
+# include <boost/preprocessor/config/variadics.hpp>
+#
+#if BOOST_PP_VARIADICS
+#
+#include "detail/elem.hpp"
+#
+#define BOOST_PP_VARIADIC_ELEM(n,...) \
+ BOOST_PP_VARIADIC_DETAIL_ELEM(n,__VA_ARGS__) \
+/**/
+#
+#endif // BOOST_PP_VARIADICS
+#endif // BOOST_PREPROCESSOR_VARIADIC_ELEM_HPP

Added: branches/pplib/variadics/boost/preprocessor/variadic/size.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/variadic/size.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,25 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_VARIADIC_SIZE_HPP
+# define BOOST_PREPROCESSOR_VARIADIC_SIZE_HPP
+#
+# include <boost/preprocessor/config/variadics.hpp>
+#
+#if BOOST_PP_VARIADICS
+#
+#include "detail/size.hpp"
+#
+#define BOOST_PP_VARIADIC_SIZE(...) \
+ BOOST_PP_VARIADIC_DETAIL_SIZE(__VA_ARGS__) \
+/**/
+#endif // BOOST_PP_VARIADICS
+#endif // BOOST_PREPROCESSOR_VARIADIC_SIZE_HPP

Added: branches/pplib/variadics/boost/preprocessor/variadic/to_array.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/variadic/to_array.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,25 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_VARIADIC_TO_ARRAY_HPP
+# define BOOST_PREPROCESSOR_VARIADIC_TO_ARRAY_HPP
+#
+# include <boost/preprocessor/config/variadics.hpp>
+#
+#if BOOST_PP_VARIADICS
+#
+#include "detail/to_array.hpp"
+#
+#define BOOST_PP_TO_ARRAY(...) \
+ BOOST_PP_VARIADIC_DETAIL_TO_ARRAY(__VA_ARGS__) \
+/**/
+#endif // BOOST_PP_VARIADICS
+#endif // BOOST_PREPROCESSOR_VARIADIC_TO_ARRAY_HPP

Added: branches/pplib/variadics/boost/preprocessor/variadic/to_list.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/variadic/to_list.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,25 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_VARIADIC_TO_LIST_HPP
+# define BOOST_PREPROCESSOR_VARIADIC_TO_LIST_HPP
+#
+# include <boost/preprocessor/config/variadics.hpp>
+#
+#if BOOST_PP_VARIADICS
+#
+#include "detail/to_list.hpp"
+#
+#define BOOST_PP_TO_LIST(...) \
+ BOOST_PP_VARIADIC_DETAIL_TO_LIST(__VA_ARGS__) \
+/**/
+#endif // BOOST_PP_VARIADICS
+#endif // BOOST_PREPROCESSOR_VARIADIC_TO_LIST_HPP

Added: branches/pplib/variadics/boost/preprocessor/variadic/to_seq.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/variadic/to_seq.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,25 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_VARIADIC_TO_SEQ_HPP
+# define BOOST_PREPROCESSOR_VARIADIC_TO_SEQ_HPP
+#
+# include <boost/preprocessor/config/variadics.hpp>
+#
+#if BOOST_PP_VARIADICS
+#
+#include "detail/to_seq.hpp"
+#
+#define BOOST_PP_TO_SEQ(...) \
+ BOOST_PP_VARIADIC_DETAIL_TO_SEQ(__VA_ARGS__) \
+/**/
+#endif // BOOST_PP_VARIADICS
+#endif // BOOST_PREPROCESSOR_VARIADIC_TO_SEQ_HPP

Added: branches/pplib/variadics/boost/preprocessor/variadic/to_tuple.hpp
==============================================================================
--- (empty file)
+++ branches/pplib/variadics/boost/preprocessor/variadic/to_tuple.hpp 2011-03-25 19:52:34 EDT (Fri, 25 Mar 2011)
@@ -0,0 +1,25 @@
+# /* **************************************************************************
+# * *
+# * (C) Copyright Edward Diener 2011.
+# * Distributed under the Boost Software License, Version 1.0. (See
+# * accompanying file LICENSE_1_0.txt or copy at
+# * http://www.boost.org/LICENSE_1_0.txt)
+# * *
+# ************************************************************************** */
+#
+# /* See http://www.boost.org for most recent version. */
+#
+# ifndef BOOST_PREPROCESSOR_VARIADIC_TO_TUPLE_HPP
+# define BOOST_PREPROCESSOR_VARIADIC_TO_TUPLE_HPP
+#
+# include <boost/preprocessor/config/variadics.hpp>
+#
+#if BOOST_PP_VARIADICS
+#
+#include "detail/to_tuple.hpp"
+#
+#define BOOST_PP_TO_TUPLE(...) \
+ BOOST_PP_VARIADIC_DETAIL_TO_TUPLE(__VA_ARGS__) \
+/**/
+#endif // BOOST_PP_VARIADICS
+#endif // BOOST_PREPROCESSOR_VARIADIC_TO_TUPLE_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