|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r70807 - sandbox/assign_v2/libs/assign/v2/test
From: erwann.rogard_at_[hidden]
Date: 2011-03-31 22:49:49
Author: e_r
Date: 2011-03-31 22:49:48 EDT (Thu, 31 Mar 2011)
New Revision: 70807
URL: http://svn.boost.org/trac/boost/changeset/70807
Log:
upd assign_v2
Text files modified:
sandbox/assign_v2/libs/assign/v2/test/csv.cpp | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
Modified: sandbox/assign_v2/libs/assign/v2/test/csv.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/csv.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/csv.cpp 2011-03-31 22:49:48 EDT (Thu, 31 Mar 2011)
@@ -40,7 +40,10 @@
typedef std::map<std::string, int> C; typedef C::value_type T;
C cont;
- as2::csv( as2::put( cont ) % (as2::_data = as2::_value), T("jan", 31), T("feb", 28), T("mar", 31) );
+ as2::csv(
+ as2::put( cont ) % (as2::_data = as2::_value),
+ T("jan", 31), T("feb", 28), T("mar", 31)
+ );
BOOST_ASSIGN_V2_CHECK( cont["jan"] == 31 );
BOOST_ASSIGN_V2_CHECK( cont["mar"] == 31 );
@@ -49,7 +52,10 @@
{
//[test_csv_put_modulo
std::deque<int> cont;
- as2::csv( as2::put( cont ) % as2::_push_front, 100, 10, 1 );
+ as2::csv(
+ as2::put( cont ) % as2::_push_front,
+ 100, 10, 1
+ );
BOOST_ASSIGN_V2_CHECK(
range::equal( cont, as2::csv_deque( 1, 10, 100 ) )
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