|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71542 - sandbox/assign_v2/libs/assign/v2/test/option
From: erwann.rogard_at_[hidden]
Date: 2011-04-27 13:44:33
Author: e_r
Date: 2011-04-27 13:44:32 EDT (Wed, 27 Apr 2011)
New Revision: 71542
URL: http://svn.boost.org/trac/boost/changeset/71542
Log:
upd assign_v2
Text files modified:
sandbox/assign_v2/libs/assign/v2/test/option/mapped.cpp | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
Modified: sandbox/assign_v2/libs/assign/v2/test/option/mapped.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/option/mapped.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/option/mapped.cpp 2011-04-27 13:44:32 EDT (Wed, 27 Apr 2011)
@@ -39,9 +39,9 @@
(
as2::put( year )
( "feb", 28 )( "apr", 30 )( "jun", 30 )( "sep", 30 )( "nov", 30 )
- % ( as2::_data = as2::_key ) % ( as2::_mapped = ( boost::lambda::constant( 31 ) ) )
+ % ( as2::_data = as2::_key ) % ( as2::_mapped = boost::lambda::constant( 31 ) )
)/*<<Calls `year[ month_( "jan" ) ] = 31`>>*/( "jan" )( "mar" )( "may" )( "jul" )( "aug" )( "oct" )( "dec" );
-
+
BOOST_ASSIGN_V2_CHECK( year["jan"] == 31 );
BOOST_ASSIGN_V2_CHECK( year["dec"] == 31 );
//]
@@ -62,11 +62,11 @@
//[test_option_mapped_deque
std::list<int> source(10, 1); boost::iota( source, 1 );
BOOST_AUTO( option, ( as2::_mapped = ( boost::lambda::_1 *= -1 ) ) );
-
- BOOST_ASSIGN_V2_CHECK(
+
+ BOOST_ASSIGN_V2_CHECK(
boost::range::equal(
(
- as2::deque<int>( as2::as_arg_list( source ) )
+ as2::deque<int>( as2::as_arg_list( source ) )
% option
)( 1 )( 3 )( 5 )( 7 )( 9 ),
as2::csv_deque( +1, -2, +3, -4, +5, -6, +7, -8, +9, -10 )
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