Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70310 - in sandbox/assign_v2/libs/assign/v2/test: put/pipe put/pipe/modifier ref
From: erwann.rogard_at_[hidden]
Date: 2011-03-21 10:29:06


Author: e_r
Date: 2011-03-21 10:29:06 EDT (Mon, 21 Mar 2011)
New Revision: 70310
URL: http://svn.boost.org/trac/boost/changeset/70310

Log:
upd assign_v2
Text files modified:
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv_put.cpp | 1 -
   sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/lookup.cpp | 5 ++---
   sandbox/assign_v2/libs/assign/v2/test/ref/aux_.cpp | 2 +-
   3 files changed, 3 insertions(+), 5 deletions(-)

Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv_put.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv_put.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/csv_put.cpp 2011-03-21 10:29:06 EDT (Mon, 21 Mar 2011)
@@ -15,7 +15,6 @@
 #include <boost/array.hpp>
 #include <boost/assign/v2/detail/config/check.hpp>
 #include <boost/assign/v2/deque/csv_deque.hpp>
-#include <boost/assign/v2/put/pipe/put.hpp>
 #include <boost/assign/v2/put/pipe/csv_put.hpp>
 #include <boost/range/algorithm/for_each.hpp>
 

Modified: sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/lookup.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/lookup.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/pipe/modifier/lookup.cpp 2011-03-21 10:29:06 EDT (Mon, 21 Mar 2011)
@@ -14,7 +14,6 @@
 #include <boost/assign/v2/detail/config/check.hpp>
 #include <boost/assign/v2/fun.hpp>
 #include <boost/assign/v2/modifier/lookup.hpp>
-#include <boost/assign/v2/put/pipe/put.hpp>
 #include <boost/assign/v2/put/pipe/csv_put.hpp>
 #include <libs/assign/v2/test/put/pipe/modifier/lookup.h>
 
@@ -31,12 +30,12 @@
         {
             //[pipe_lookup
                 using namespace lambda;
- std::map<std::string, int> cal;
+ typedef std::map<std::string, int> C; C cal;
             BOOST_AUTO( _local, ( as2::_fun = _1 ) );
             BOOST_ASSIGN_V2_CHECK(
                 (
                     cal
- | as2::_put( "feb", 28 )
+ | as2::_csv_put( C::value_type( "feb", 28 ) )
                         | ( as2::_csv_put % _local % ( as2::_lookup = (_1 = 30) ) )( "apr", "jun", "sep", "nov" )
                         | ( as2::_csv_put % _local % ( as2::_lookup = (_1 = 31) ) )( "jan", "mar", "may", "jul", "aug", "oct", "dec" )
  

Modified: sandbox/assign_v2/libs/assign/v2/test/ref/aux_.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/ref/aux_.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/ref/aux_.cpp 2011-03-21 10:29:06 EDT (Mon, 21 Mar 2011)
@@ -23,4 +23,4 @@
 
 }// xxx_aux_
 }// xxx_ref
-}// test_assign_v2
\ No newline at end of file
+}// test_assign_v2


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