Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72358 - in sandbox/assign_v2: boost/assign/v2/deque/cpp03 boost/assign/v2/interpreter boost/assign/v2/interpreter/cpp03 boost/assign/v2/put/cpp03 boost/assign/v2/support/functor boost/assign/v2/support/pp libs/assign/v2/src
From: erwann.rogard_at_[hidden]
Date: 2011-06-02 20:33:04


Author: e_r
Date: 2011-06-02 20:33:03 EDT (Thu, 02 Jun 2011)
New Revision: 72358
URL: http://svn.boost.org/trac/boost/changeset/72358

Log:
upd assign_v2
Text files modified:
   sandbox/assign_v2/boost/assign/v2/deque/cpp03/csv_deque.hpp | 48 +++++++++++++++++-----------------
   sandbox/assign_v2/boost/assign/v2/interpreter/cpp03/csv.hpp | 44 ++++++++++++++++----------------
   sandbox/assign_v2/boost/assign/v2/interpreter/csv.hpp | 4 +-
   sandbox/assign_v2/boost/assign/v2/put/cpp03/csv_put.hpp | 50 ++++++++++++++++++------------------
   sandbox/assign_v2/boost/assign/v2/support/functor/crtp_unary_and_up.hpp | 2
   sandbox/assign_v2/boost/assign/v2/support/pp/parameter_list.hpp | 54 ++++++++++++++++++++--------------------
   sandbox/assign_v2/libs/assign/v2/src/main.cpp | 2
   7 files changed, 102 insertions(+), 102 deletions(-)

Modified: sandbox/assign_v2/boost/assign/v2/deque/cpp03/csv_deque.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/deque/cpp03/csv_deque.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/deque/cpp03/csv_deque.hpp 2011-06-02 20:33:03 EDT (Thu, 02 Jun 2011)
@@ -26,13 +26,13 @@
         I == BOOST_PP_SEQ_SIZE(SeqU),\
         result_of::csv_deque<T>\
>::type\
- csv_deque\
+ csv_deque\
     (\
- BOOST_ASSIGN_V2_CSV_PARAMETER_LIST(SeqU, N)\
+ BOOST_ASSIGN_V2_CSV_PARAMETER_LIST(SeqU, N)\
     )\
     {\
- return csv<I, BOOST_PP_SEQ_ENUM(SeqU)>(\
- deque<T>( _nil )\
+ return csv<I, BOOST_PP_SEQ_ENUM(SeqU)>(\
+ deque<T>( _nil )\
             BOOST_PP_ENUM_TRAILING_PARAMS(\
                 BOOST_PP_MUL( N, BOOST_PP_SEQ_SIZE(SeqU) ),\
                 _\
@@ -48,11 +48,11 @@
         result_of::csv_deque_option<T, Options>\
>::type csv_deque\
     (\
- BOOST_ASSIGN_V2_CSV_PARAMETER_LIST(SeqU, N)\
+ BOOST_ASSIGN_V2_CSV_PARAMETER_LIST(SeqU, N)\
     )\
     {\
- return csv<I, BOOST_PP_SEQ_ENUM(SeqU)>(\
- deque<T>( _nil ) % Options()\
+ return csv<I, BOOST_PP_SEQ_ENUM(SeqU)>(\
+ deque<T>( _nil ) % Options()\
             BOOST_PP_ENUM_TRAILING_PARAMS(\
                 BOOST_PP_MUL( N, BOOST_PP_SEQ_SIZE(SeqU) ),\
                 _\
@@ -62,44 +62,44 @@
 /**/
 
 #define BOOST_ASSIGN_V2_CSV_DEQUE_ITER(r, SeqU)\
- BOOST_PP_REPEAT_FROM_TO(\
- 1,\
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_CSV_ARITY),\
- BOOST_ASSIGN_V2_CSV_DEQUE_NESTED_ITER,\
- SeqU\
- )\
+ BOOST_PP_REPEAT_FROM_TO(\
+ 1,\
+ BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_CSV_ARITY),\
+ BOOST_ASSIGN_V2_CSV_DEQUE_NESTED_ITER,\
+ SeqU\
+ )\
 /**/
 
 #define BOOST_ASSIGN_V2_CSV_DEQUE_CONST_NON_CONST_OVERLOAD(z, I, data)\
- BOOST_PP_SEQ_FOR_EACH_PRODUCT(\
- BOOST_ASSIGN_V2_CSV_DEQUE_ITER,\
- BOOST_ASSIGN_V2_CSV_SEQ1(I)\
- )\
+ BOOST_PP_SEQ_FOR_EACH_PRODUCT(\
+ BOOST_ASSIGN_V2_CSV_DEQUE_ITER,\
+ BOOST_ASSIGN_V2_CSV_SEQ1(I)\
+ )\
 /**/
 
 #define BOOST_ASSIGN_V2_CSV_DEQUE_OVERLOAD(z, I, pos)\
- BOOST_ASSIGN_V2_CSV_DEQUE_ITER(\
- ~,\
- BOOST_ASSIGN_V2_CSV_SEQ2(pos, I)\
- )\
+ BOOST_ASSIGN_V2_CSV_DEQUE_ITER(\
+ ~,\
+ BOOST_ASSIGN_V2_CSV_SEQ2(pos, I)\
+ )\
 /**/
 
 BOOST_PP_REPEAT_FROM_TO(
- 1, // TODO zero for empty case
+ 1, // TODO zero for empty case
     BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_CONST_NON_CONST_ARITY),
     BOOST_ASSIGN_V2_CSV_DEQUE_CONST_NON_CONST_OVERLOAD,
     ~
 )
 
 BOOST_PP_REPEAT_FROM_TO(
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_CONST_NON_CONST_ARITY),
+ BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_CONST_NON_CONST_ARITY),
     BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_ARITY),
     BOOST_ASSIGN_V2_CSV_DEQUE_OVERLOAD,
     0
 )
 
 BOOST_PP_REPEAT_FROM_TO(
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_CONST_NON_CONST_ARITY),
+ BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_CONST_NON_CONST_ARITY),
     BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_ARITY),
     BOOST_ASSIGN_V2_CSV_DEQUE_OVERLOAD,
     1

Modified: sandbox/assign_v2/boost/assign/v2/interpreter/cpp03/csv.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/interpreter/cpp03/csv.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/interpreter/cpp03/csv.hpp 2011-06-02 20:33:03 EDT (Thu, 02 Jun 2011)
@@ -29,7 +29,7 @@
         I == J,\
         D const&\
>::type\
- csv\
+ csv\
     (\
         interpreter_crtp<D, C, F, MTag, DTag> const& interpreter\
     )\
@@ -47,16 +47,16 @@
         I == BOOST_PP_SEQ_SIZE(SeqU),\
         D const&\
>::type\
- csv\
+ csv\
     (\
         interpreter_crtp<D, C, F, MTag, DTag> const& interpreter,\
- BOOST_ASSIGN_V2_CSV_PARAMETER_LIST(SeqU, N)\
+ BOOST_ASSIGN_V2_CSV_PARAMETER_LIST(SeqU, N)\
     )\
     {\
         interpreter(\
             BOOST_ASSIGN_V2_ARG_LIST(SeqU, 0)\
         );\
- return csv<I, BOOST_PP_SEQ_ENUM(SeqU)>(\
+ return csv<I, BOOST_PP_SEQ_ENUM(SeqU)>(\
             static_cast<D const&>( interpreter )\
             BOOST_PP_ENUM_TRAILING(\
                 BOOST_PP_MUL( BOOST_PP_DEC(N), BOOST_PP_SEQ_SIZE(SeqU) ),\
@@ -68,30 +68,30 @@
 /**/
 
 #define BOOST_ASSIGN_V2_INTERPRETER_CSV_ITER(r, SeqU)\
- BOOST_PP_REPEAT_FROM_TO(\
- 1,\
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_CSV_ARITY),\
- BOOST_ASSIGN_V2_INTERPRETER_CSV_NESTED_ITER,\
- SeqU\
- )\
+ BOOST_PP_REPEAT_FROM_TO(\
+ 1,\
+ BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_CSV_ARITY),\
+ BOOST_ASSIGN_V2_INTERPRETER_CSV_NESTED_ITER,\
+ SeqU\
+ )\
 /**/
 
 // CONST_NON_CONST_OVERLOAD
 
 #define BOOST_ASSIGN_V2_INTERPRETER_CSV_CONST_NON_CONST_OVERLOAD(z, I, data)\
- BOOST_PP_SEQ_FOR_EACH_PRODUCT(\
- BOOST_ASSIGN_V2_INTERPRETER_CSV_ITER,\
- BOOST_ASSIGN_V2_CSV_SEQ1(I)\
- )\
+ BOOST_PP_SEQ_FOR_EACH_PRODUCT(\
+ BOOST_ASSIGN_V2_INTERPRETER_CSV_ITER,\
+ BOOST_ASSIGN_V2_CSV_SEQ1(I)\
+ )\
 /**/
 
 // OVERLOAD
 
 #define BOOST_ASSIGN_V2_INTERPRETER_CSV_OVERLOAD(z, I, pos)\
- BOOST_ASSIGN_V2_INTERPRETER_CSV_ITER(\
- ~,\
- BOOST_ASSIGN_V2_CSV_SEQ2(pos, I)\
- )\
+ BOOST_ASSIGN_V2_INTERPRETER_CSV_ITER(\
+ ~,\
+ BOOST_ASSIGN_V2_CSV_SEQ2(pos, I)\
+ )\
 /**/
 
 // OVERLOAD_VARIADIC
@@ -124,28 +124,28 @@
 namespace interpreter_aux{
 
 BOOST_PP_REPEAT_FROM_TO(
- 1,
+ 1,
     BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_ARITY),
     BOOST_ASSIGN_V2_INTERPRETER_CSV_EXIT,
     ~
 )
 
 BOOST_PP_REPEAT_FROM_TO(
- 1,
+ 1,
     BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_CONST_NON_CONST_ARITY),
     BOOST_ASSIGN_V2_INTERPRETER_CSV_CONST_NON_CONST_OVERLOAD,
     ~
 )
 
 BOOST_PP_REPEAT_FROM_TO(
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_CONST_NON_CONST_ARITY),
+ BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_CONST_NON_CONST_ARITY),
     BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_ARITY),
     BOOST_ASSIGN_V2_INTERPRETER_CSV_OVERLOAD,
     0
 )
 
 BOOST_PP_REPEAT_FROM_TO(
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_CONST_NON_CONST_ARITY),
+ BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_CONST_NON_CONST_ARITY),
     BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_ARITY),
     BOOST_ASSIGN_V2_INTERPRETER_CSV_OVERLOAD,
     1

Modified: sandbox/assign_v2/boost/assign/v2/interpreter/csv.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/interpreter/csv.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/interpreter/csv.hpp 2011-06-02 20:33:03 EDT (Thu, 02 Jun 2011)
@@ -27,7 +27,7 @@
 namespace interpreter_aux{
 
     template<
- int I,
+ int I,
         typename... Types,
         typename D, typename C, typename F, typename MTag, typename DTag,
         typename... Args
@@ -214,7 +214,7 @@
     }
 
     template<
- int I,
+ int I,
         typename... Types,
         typename D, typename C, typename F, typename MTag, typename DTag,
         typename... Args

Modified: sandbox/assign_v2/boost/assign/v2/put/cpp03/csv_put.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/put/cpp03/csv_put.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/put/cpp03/csv_put.hpp 2011-06-02 20:33:03 EDT (Thu, 02 Jun 2011)
@@ -24,14 +24,14 @@
         , typename C\
>\
     typename boost::enable_if_c<I == BOOST_PP_SEQ_SIZE(SeqU)>::type\
- csv_put\
+ csv_put\
     (\
         C& cont,\
- BOOST_ASSIGN_V2_CSV_PARAMETER_LIST(SeqU, N)\
+ BOOST_ASSIGN_V2_CSV_PARAMETER_LIST(SeqU, N)\
     )\
     {\
- csv<I, BOOST_PP_SEQ_ENUM(SeqU)>(\
- put( cont )\
+ csv<I, BOOST_PP_SEQ_ENUM(SeqU)>(\
+ put( cont )\
             BOOST_PP_ENUM_TRAILING_PARAMS(\
                 BOOST_PP_MUL( N, BOOST_PP_SEQ_SIZE(SeqU) ),\
                 _\
@@ -44,14 +44,14 @@
         , typename C\
>\
     typename boost::enable_if_c<I == BOOST_PP_SEQ_SIZE(SeqU)>::type\
- csv_put\
+ csv_put\
     (\
         C& cont,\
- BOOST_ASSIGN_V2_CSV_PARAMETER_LIST(SeqU, N)\
+ BOOST_ASSIGN_V2_CSV_PARAMETER_LIST(SeqU, N)\
     )\
     {\
- csv<I, BOOST_PP_SEQ_ENUM(SeqU)>(\
- put( cont ) % Options()\
+ csv<I, BOOST_PP_SEQ_ENUM(SeqU)>(\
+ put( cont ) % Options()\
             BOOST_PP_ENUM_TRAILING_PARAMS(\
                 BOOST_PP_MUL( N, BOOST_PP_SEQ_SIZE(SeqU) ),\
                 _\
@@ -61,44 +61,44 @@
 /**/
 
 #define BOOST_ASSIGN_V2_CSV_PUT_ITER(r, SeqU)\
- BOOST_PP_REPEAT_FROM_TO(\
- 1,\
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_CSV_ARITY),\
- BOOST_ASSIGN_V2_CSV_PUT_NESTED_ITER,\
- SeqU\
- )\
+ BOOST_PP_REPEAT_FROM_TO(\
+ 1,\
+ BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_CSV_ARITY),\
+ BOOST_ASSIGN_V2_CSV_PUT_NESTED_ITER,\
+ SeqU\
+ )\
 /**/
 
 #define BOOST_ASSIGN_V2_CSV_PUT_CONST_NON_CONST_OVERLOAD(z, I, data)\
- BOOST_PP_SEQ_FOR_EACH_PRODUCT(\
- BOOST_ASSIGN_V2_CSV_PUT_ITER,\
- BOOST_ASSIGN_V2_CSV_SEQ1(I)\
- )\
+ BOOST_PP_SEQ_FOR_EACH_PRODUCT(\
+ BOOST_ASSIGN_V2_CSV_PUT_ITER,\
+ BOOST_ASSIGN_V2_CSV_SEQ1(I)\
+ )\
 /**/
 
 #define BOOST_ASSIGN_V2_CSV_PUT_OVERLOAD(z, I, pos)\
- BOOST_ASSIGN_V2_CSV_PUT_ITER(\
- ~,\
- BOOST_ASSIGN_V2_CSV_SEQ2(pos, I)\
- )\
+ BOOST_ASSIGN_V2_CSV_PUT_ITER(\
+ ~,\
+ BOOST_ASSIGN_V2_CSV_SEQ2(pos, I)\
+ )\
 /**/
 
 BOOST_PP_REPEAT_FROM_TO(
- 1,
+ 1,
     BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_CONST_NON_CONST_ARITY),
     BOOST_ASSIGN_V2_CSV_PUT_CONST_NON_CONST_OVERLOAD,
     ~
 )
 
 BOOST_PP_REPEAT_FROM_TO(
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_CONST_NON_CONST_ARITY),
+ BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_CONST_NON_CONST_ARITY),
     BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_ARITY),
     BOOST_ASSIGN_V2_CSV_PUT_OVERLOAD,
     0
 )
 
 BOOST_PP_REPEAT_FROM_TO(
- BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_CONST_NON_CONST_ARITY),
+ BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_CONST_NON_CONST_ARITY),
     BOOST_PP_INC(BOOST_ASSIGN_V2_LIMIT_FUNCTOR_ARITY),
     BOOST_ASSIGN_V2_CSV_PUT_OVERLOAD,
     1

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-02 20:33:03 EDT (Thu, 02 Jun 2011)
@@ -87,7 +87,7 @@
 #define BOOST_ASSIGN_V2_MACRO2(z, n, data) BOOST_PP_SEQ_FOR_EACH_PRODUCT(\
     BOOST_ASSIGN_V2_MACRO1, \
     BOOST_PP_SEQ_FIRST_N(\
- BOOST_PP_INC(n),\
+ BOOST_PP_INC(n),\
         BOOST_ASSIGN_V2_SEQ_TPL_BINARY_ARG_LIST\
     )\
 ) \

Modified: sandbox/assign_v2/boost/assign/v2/support/pp/parameter_list.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/support/pp/parameter_list.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/support/pp/parameter_list.hpp 2011-06-02 20:33:03 EDT (Thu, 02 Jun 2011)
@@ -17,10 +17,10 @@
 #include <boost/preprocessor/seq.hpp>
 
 #define BOOST_ASSIGN_V2_ARG_LIST_ITER( z, n, shift )\
- BOOST_PP_CAT(\
- _,\
- BOOST_PP_ADD(\
- shift,\
+ BOOST_PP_CAT(\
+ _,\
+ BOOST_PP_ADD(\
+ shift,\
             n\
         )\
     )\
@@ -38,15 +38,15 @@
 
 #define BOOST_ASSIGN_V2_ARG_LIST(SeqU, shift)\
     BOOST_PP_ENUM(\
- BOOST_PP_SEQ_SIZE(SeqU),\
+ BOOST_PP_SEQ_SIZE(SeqU),\
         BOOST_ASSIGN_V2_ARG_LIST_ITER,\
         shift\
     )\
 /**/
 
 #define BOOST_ASSIGN_V2_TPL_PARAMETER_LIST(SeqU)\
- BOOST_PP_ENUM_PARAMS(\
- BOOST_PP_SEQ_SIZE(SeqU),\
+ BOOST_PP_ENUM_PARAMS(\
+ BOOST_PP_SEQ_SIZE(SeqU),\
         typename T\
     )\
 /**/
@@ -59,14 +59,14 @@
 //]
 
 #define BOOST_ASSIGN_V2_SEQ_TPL_BINARY_ARG_LIST_ITER(z, n, data)\
- (\
- ( BOOST_PP_CAT(T, n) const)( BOOST_PP_CAT(T, n) )\
- )\
+ (\
+ ( BOOST_PP_CAT(T, n) const)( BOOST_PP_CAT(T, n) )\
+ )\
 /**/
 
 #define BOOST_ASSIGN_V2_SEQ_TPL_BINARY_ARG_LIST\
- BOOST_PP_REPEAT(\
- BOOST_ASSIGN_V2_PARAMETER_LIST_SIZE,\
+ BOOST_PP_REPEAT(\
+ BOOST_ASSIGN_V2_PARAMETER_LIST_SIZE,\
         BOOST_ASSIGN_V2_SEQ_TPL_BINARY_ARG_LIST_ITER,\
         ~\
     )\
@@ -77,28 +77,28 @@
 // PARAMETER_LIST
 
 #define BOOST_ASSIGN_V2_CSV_PARAMETER_LIST_ITER(z, n, SeqU)\
- BOOST_ASSIGN_V2_PARAMETER_LIST(\
- SeqU,\
- BOOST_PP_MUL(\
- n,\
- BOOST_PP_SEQ_SIZE(SeqU)\
- )\
- )\
+ BOOST_ASSIGN_V2_PARAMETER_LIST(\
+ SeqU,\
+ BOOST_PP_MUL(\
+ n,\
+ BOOST_PP_SEQ_SIZE(SeqU)\
+ )\
+ )\
 /**/
 
 #define BOOST_ASSIGN_V2_CSV_PARAMETER_LIST(SeqU, N)\
- BOOST_PP_ENUM(\
- N,\
- BOOST_ASSIGN_V2_CSV_PARAMETER_LIST_ITER,\
- SeqU\
- )\
+ BOOST_PP_ENUM(\
+ N,\
+ BOOST_ASSIGN_V2_CSV_PARAMETER_LIST_ITER,\
+ SeqU\
+ )\
 /**/
 
 // ARG_LIST
 
 #define BOOST_ASSIGN_V2_CSV_ARG_LIST_ITER(z, i, N)\
- BOOST_PP_CAT(\
- _,\
+ BOOST_PP_CAT(\
+ _,\
         BOOST_PP_ADD( N, i)\
     )\
 /**/
@@ -113,7 +113,7 @@
 /**/
 
 #define BOOST_ASSIGN_V2_CSV_SEQ_ELEM(r, data, elem)\
- (BOOST_PP_SEQ_ELEM(data, elem))\
+ (BOOST_PP_SEQ_ELEM(data, elem))\
 /**/
 
 #define BOOST_ASSIGN_V2_CSV_SEQ2(pos, I)\

Modified: sandbox/assign_v2/libs/assign/v2/src/main.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/src/main.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/src/main.cpp 2011-06-02 20:33:03 EDT (Thu, 02 Jun 2011)
@@ -22,7 +22,7 @@
 //#include <fstream>
 //#include <libs/assign/v2/speed/test.h>
 
-int main (int argc, char * const argv[])
+int main (int argc, char * const argv[])
 {
 
     // Do not put libs/assign/v2/test/unit_testing in this project


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