Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66529 - in sandbox/statistics/support/boost/assign/v2/detail: config pp
From: erwann.rogard_at_[hidden]
Date: 2010-11-12 10:47:19


Author: e_r
Date: 2010-11-12 10:47:14 EST (Fri, 12 Nov 2010)
New Revision: 66529
URL: http://svn.boost.org/trac/boost/changeset/66529

Log:
minor update to /boost/assign/v2/detail
Added:
   sandbox/statistics/support/boost/assign/v2/detail/pp/
   sandbox/statistics/support/boost/assign/v2/detail/pp/args.hpp (contents, props changed)
   sandbox/statistics/support/boost/assign/v2/detail/pp/params.hpp (contents, props changed)
   sandbox/statistics/support/boost/assign/v2/detail/pp/seq.hpp (contents, props changed)
Text files modified:
   sandbox/statistics/support/boost/assign/v2/detail/config/arity_bound.hpp | 14 +++++++-------
   1 files changed, 7 insertions(+), 7 deletions(-)

Modified: sandbox/statistics/support/boost/assign/v2/detail/config/arity_bound.hpp
==============================================================================
--- sandbox/statistics/support/boost/assign/v2/detail/config/arity_bound.hpp (original)
+++ sandbox/statistics/support/boost/assign/v2/detail/config/arity_bound.hpp 2010-11-12 10:47:14 EST (Fri, 12 Nov 2010)
@@ -11,14 +11,14 @@
 #include <boost/mpl/limits/arity.hpp>
 
 // Default upper bound on the arity of function and functors
-#ifndef BOOST_ASSIGN_V2_ARITY_BOUND
-#define BOOST_ASSIGN_V2_ARITY_BOUND\
- BOOST_PP_INC(BOOST_MPL_LIMIT_METAFUNCTION_ARITY)\
+//#ifndef BOOST_ASSIGN_V2_ARITY_BOUND
+//#define BOOST_ASSIGN_V2_ARITY_BOUND\
+// BOOST_PP_INC(BOOST_MPL_LIMIT_METAFUNCTION_ARITY)\
 /**/
-#endif
+//#endif
 
-#if BOOST_ASSIGN_V2_ARITY_BOUND > BOOST_PP_INC(BOOST_MPL_LIMIT_METAFUNCTION_ARITY)
-#error
+//#if BOOST_ASSIGN_V2_ARITY_BOUND > BOOST_PP_INC(BOOST_MPL_LIMIT_METAFUNCTION_ARITY)
+//#error
 // This is required, at least, by /ref/fusion_matrix/container.hpp
-#endif
+//#endif
 

Added: sandbox/statistics/support/boost/assign/v2/detail/pp/args.hpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/boost/assign/v2/detail/pp/args.hpp 2010-11-12 10:47:14 EST (Fri, 12 Nov 2010)
@@ -0,0 +1,27 @@
+////////////////////////////////////////////////////////////////////////////
+// Boost.Assign v2 //
+// //
+// Copyright (C) 2003-2004 Thorsten Ottosen //
+// Copyright (C) 2010 Erwann Rogard //
+// Use, modification and distribution are subject to 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) //
+////////////////////////////////////////////////////////////////////////////
+#ifndef BOOST_ASSIGN_V2_args
+#include <boost/preprocessor/cat.hpp>
+#include <boost/preprocessor/comma_if.hpp>
+#include <boost/preprocessor/repetition/enum_params.hpp>
+#include <boost/preprocessor/seq/for_each_i.hpp>
+#include <boost/preprocessor/seq/size.hpp>
+#define BOOST_ASSIGN_V2_decl_args_iter(r, data, i, U) \
+ BOOST_PP_COMMA_IF(i) \
+ U & \
+ BOOST_PP_CAT(data, i) \
+/**/
+#define BOOST_ASSIGN_V2_decl_args(SeqU) \
+ BOOST_PP_SEQ_FOR_EACH_I(BOOST_ASSIGN_V2_decl_args_iter, _, SeqU) \
+/**/
+#define BOOST_ASSIGN_V2_args(SeqU) \
+ BOOST_PP_ENUM_PARAMS(BOOST_PP_SEQ_SIZE(SeqU), _)
+/**/
+#endif

Added: sandbox/statistics/support/boost/assign/v2/detail/pp/params.hpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/boost/assign/v2/detail/pp/params.hpp 2010-11-12 10:47:14 EST (Fri, 12 Nov 2010)
@@ -0,0 +1,17 @@
+////////////////////////////////////////////////////////////////////////////
+// Boost.Assign v2 //
+// //
+// Copyright (C) 2003-2004 Thorsten Ottosen //
+// Copyright (C) 2010 Erwann Rogard //
+// Use, modification and distribution are subject to 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) //
+////////////////////////////////////////////////////////////////////////////
+#ifndef BOOST_ASSIGN_V2_params
+#include <boost/preprocessor/seq/size.hpp>
+#include <boost/preprocessor/seq/enum.hpp>
+#define BOOST_ASSIGN_V2_decl_params(SeqU) \
+ BOOST_PP_ENUM_PARAMS(BOOST_PP_SEQ_SIZE(SeqU), typename T)\
+/**/
+#define BOOST_ASSIGN_V2_params(SeqU) BOOST_PP_SEQ_ENUM(SeqU)
+#endif

Added: sandbox/statistics/support/boost/assign/v2/detail/pp/seq.hpp
==============================================================================
--- (empty file)
+++ sandbox/statistics/support/boost/assign/v2/detail/pp/seq.hpp 2010-11-12 10:47:14 EST (Fri, 12 Nov 2010)
@@ -0,0 +1,13 @@
+////////////////////////////////////////////////////////////////////////////
+// Boost.Assign v2 //
+// //
+// Copyright (C) 2003-2004 Thorsten Ottosen //
+// Copyright (C) 2010 Erwann Rogard //
+// Use, modification and distribution are subject to 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) //
+////////////////////////////////////////////////////////////////////////////
+#ifndef BOOST_ASSIGN_V2_SEQ
+#include <boost/preprocessor/tuple/to_seq.hpp>
+#define BOOST_ASSIGN_V2_SEQ BOOST_PP_TUPLE_TO_SEQ(10,((T0 const)(T0),(T1 const)(T1),(T2 const)(T2),(T3 const)(T3),(T4 const)(T4),(T5 const)(T5),(T6 const)(T6),(T7 const)(T7),(T8 const)(T8),(T9 const)(T9)))
+#endif


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