|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r72481 - in sandbox/assign_v2/boost/assign/v2: deque/cpp03 interpreter/cpp03 support/functor
From: erwann.rogard_at_[hidden]
Date: 2011-06-07 18:54:30
Author: e_r
Date: 2011-06-07 18:54:29 EDT (Tue, 07 Jun 2011)
New Revision: 72481
URL: http://svn.boost.org/trac/boost/changeset/72481
Log:
upd assign_v2
Text files modified:
sandbox/assign_v2/boost/assign/v2/deque/cpp03/csv_deque_basic.hpp | 25 +++----------------------
sandbox/assign_v2/boost/assign/v2/deque/cpp03/deque.hpp | 1 -
sandbox/assign_v2/boost/assign/v2/interpreter/cpp03/csv_basic.hpp | 5 +++++
sandbox/assign_v2/boost/assign/v2/support/functor/crtp_unary_and_up.hpp | 2 --
4 files changed, 8 insertions(+), 25 deletions(-)
Modified: sandbox/assign_v2/boost/assign/v2/deque/cpp03/csv_deque_basic.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/deque/cpp03/csv_deque_basic.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/deque/cpp03/csv_deque_basic.hpp 2011-06-07 18:54:29 EDT (Tue, 07 Jun 2011)
@@ -52,26 +52,11 @@
)
#undef BOOST_ASSIGN_V2_CSV_DEQUE_OVERLOAD_BASIC
-#define BOOST_ASSIGN_V2_MACRO(z, i, data)\
- T const& BOOST_PP_CAT(_,i)\
-/**/
-
-#define BOOST_ASSIGN_V2_REST_PARAMS(N)\
- BOOST_PP_COMMA_IF(BOOST_PP_DEC(N))\
- BOOST_PP_ENUM_SHIFTED(\
- N,\
- BOOST_ASSIGN_V2_MACRO,\
- ~\
- )\
-/**/
-
+#define BOOST_ASSIGN_V2_MACRO(z, i, data) const T& BOOST_PP_CAT(_,i)
#define BOOST_ASSIGN_V2_CSV_DEQUE_OVERLOAD_BASIC_IMPLICIT(z, N, is_const)\
template<typename T, typename Options>\
typename result_of::csv_deque_option<T, Options>::type\
- csv_deque(\
- T const& _0\
- BOOST_ASSIGN_V2_REST_PARAMS(N)\
- )\
+ csv_deque( BOOST_PP_ENUM(N, BOOST_ASSIGN_V2_MACRO, ~) )\
{\
typedef typename csv_deque_deduce_value<T>::type t_;\
return csv(\
@@ -81,10 +66,7 @@
}\
template<typename T>\
typename result_of::csv_deque<T>::type\
- csv_deque(\
- T const& _0\
- BOOST_ASSIGN_V2_REST_PARAMS(N)\
- )\
+ csv_deque( BOOST_PP_ENUM(N, BOOST_ASSIGN_V2_MACRO, ~) )\
{\
typedef typename csv_deque_deduce_value<T>::type t_;\
return csv( deque<t_>( _nil ), BOOST_PP_ENUM_PARAMS(N, _) );\
@@ -99,7 +81,6 @@
)
#undef BOOST_ASSIGN_V2_MACRO
-#undef BOOST_ASSIGN_V2_REST_PARAMS
#undef BOOST_ASSIGN_V2_CSV_DEQUE_OVERLOAD_BASIC_IMPLICIT
}// interpreter_aux
Modified: sandbox/assign_v2/boost/assign/v2/deque/cpp03/deque.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/deque/cpp03/deque.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/deque/cpp03/deque.hpp 2011-06-07 18:54:29 EDT (Tue, 07 Jun 2011)
@@ -12,7 +12,6 @@
#include <boost/assign/v2/support/config/limit_functor_arity.hpp>
#include <boost/assign/v2/support/config/limit_functor_const_non_const_arity.hpp>
#include <boost/assign/v2/support/keyword.hpp>
-#include <boost/assign/v2/support/pp/parameter_list.hpp>
#include <boost/assign/v2/deque/fwd.hpp>
#include <boost/preprocessor/arithmetic.hpp>
#include <boost/preprocessor/repetition.hpp>
Modified: sandbox/assign_v2/boost/assign/v2/interpreter/cpp03/csv_basic.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/interpreter/cpp03/csv_basic.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/interpreter/cpp03/csv_basic.hpp 2011-06-07 18:54:29 EDT (Tue, 07 Jun 2011)
@@ -11,6 +11,11 @@
#define BOOST_ASSIGN_V2_INTERPRETER_CPP03_CSV_BASIC_ER_2011_HPP
#include <boost/assign/v2/interpreter/crtp.hpp>
#include <boost/assign/v2/support/config/limit_csv_arity.hpp>
+#include <boost/preprocessor/arithmetic.hpp>
+#include <boost/preprocessor/cat.hpp>
+#include <boost/preprocessor/control.hpp>
+#include <boost/preprocessor/punctuation.hpp>
+#include <boost/preprocessor/repetition.hpp>
#define BOOST_ASSIGN_V2_INTERPRETER_CSV_OVERLOAD_BASIC(z, N, is_const)\
template<\
Modified: sandbox/assign_v2/boost/assign/v2/support/functor/crtp_unary_and_up.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/support/functor/crtp_unary_and_up.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/support/functor/crtp_unary_and_up.hpp 2011-06-07 18:54:29 EDT (Tue, 07 Jun 2011)
@@ -49,10 +49,8 @@
#include <boost/type_traits/add_const.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/utility/enable_if.hpp>
-
#include <boost/assign/v2/support/config/limit_functor_arity.hpp>
#include <boost/assign/v2/support/config/limit_functor_const_non_const_arity.hpp>
-#include <boost/assign/v2/support/pp/parameter_list.hpp>
namespace boost{
namespace assign{
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