Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71789 - in sandbox/assign_v2/libs/assign/v2: . src test test/option test/put
From: erwann.rogard_at_[hidden]
Date: 2011-05-07 15:57:01


Author: e_r
Date: 2011-05-07 15:57:00 EDT (Sat, 07 May 2011)
New Revision: 71789
URL: http://svn.boost.org/trac/boost/changeset/71789

Log:
upd assign_v2
Text files modified:
   sandbox/assign_v2/libs/assign/v2/src/main.cpp | 6 +++---
   sandbox/assign_v2/libs/assign/v2/test/option/mapped.cpp | 2 +-
   sandbox/assign_v2/libs/assign/v2/test/put.cpp | 2 +-
   sandbox/assign_v2/libs/assign/v2/test/put/ptr.cpp | 6 +++++-
   sandbox/assign_v2/libs/assign/v2/test/put/put.cpp | 2 --
   sandbox/assign_v2/libs/assign/v2/tutorial.cpp | 6 +++---
   6 files changed, 13 insertions(+), 11 deletions(-)

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-05-07 15:57:00 EDT (Sat, 07 May 2011)
@@ -16,7 +16,7 @@
 #include <libs/assign/v2/test/ref.h>
 
 // Tutorial
-#include <libs/assign/v2/tutorial.h>
+//#include <libs/assign/v2/tutorial.h>
 
 // Speed -- CPP0x required
 //#include <fstream>
@@ -71,9 +71,9 @@
         xxx_option::test();
         xxx_put::test();
         xxx_ref::test();
- }
+ }
     {
- tutorial_assign_v2::run();
+ // tutorial_assign_v2::run();
     }
     {/*
         using namespace speed_assign_v2;

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-05-07 15:57:00 EDT (Sat, 07 May 2011)
@@ -67,7 +67,7 @@
             BOOST_ASSIGN_V2_CHECK(
                 boost::range::equal(
                     (
- as2::deque<int>( as2::as_arg_list( source ) )
+ as2::deque<int>( as2::_nil ).as_arg_list( source )
                         % option
                     )( 1 )( 3 )( 5 )( 7 )( 9 ),
                     as2::csv_deque( +1, -2, +3, -4, +5, -6, +7, -8, +9, -10 )

Modified: sandbox/assign_v2/libs/assign/v2/test/put.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put.cpp 2011-05-07 15:57:00 EDT (Sat, 07 May 2011)
@@ -16,7 +16,7 @@
 
     void test(){
 
- xxx_ptr::test();
+ //xxx_ptr::test();
         xxx_put::test();
 
     }

Modified: sandbox/assign_v2/libs/assign/v2/test/put/ptr.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/ptr.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/ptr.cpp 2011-05-07 15:57:00 EDT (Sat, 07 May 2011)
@@ -11,9 +11,13 @@
 #include <utility>
 #include <boost/assign/v2/support/config/check.hpp>
 #include <boost/assign/v2/support/pp/ignore.hpp>
+
+//#include <boost/assign/v2/include/csv_deque.hpp>
 #include <boost/assign/v2/include/csv_put.hpp>
+//#include <boost/assign/v2/include/delay_csv_put.hpp>
 #include <boost/assign/v2/include/put.hpp>
-#include <boost/scoped_ptr.hpp>
+
+
 #include <boost/ptr_container/ptr_array.hpp>
 #include <boost/ptr_container/ptr_deque.hpp>
 #include <boost/ptr_container/ptr_list.hpp>

Modified: sandbox/assign_v2/libs/assign/v2/test/put/put.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/put/put.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/put/put.cpp 2011-05-07 15:57:00 EDT (Sat, 07 May 2011)
@@ -45,8 +45,6 @@
 namespace xxx_put{
 namespace xxx_put{
 
- // MSVC REMINDER : fully qualify boost::begin boost::end - error C2668
-
     void test(){
 
         namespace as2 = boost::assign::v2;

Modified: sandbox/assign_v2/libs/assign/v2/tutorial.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/tutorial.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/tutorial.cpp 2011-05-07 15:57:00 EDT (Sat, 07 May 2011)
@@ -15,12 +15,12 @@
 #include <map>
 #include <queue>
 #include <vector>
-#include <boost/assign/v2.hpp>
 #include <boost/array.hpp>
+#include <boost/assign/v2.hpp>
 #include <boost/circular_buffer.hpp>
-#include <boost/numeric/conversion/bounds.hpp>
 #include <boost/function.hpp>
 #include <boost/lambda/lambda.hpp>
+#include <boost/numeric/conversion/bounds.hpp>
 #include <boost/ptr_container/ptr_set.hpp>
 #include <boost/range/algorithm_ext/iota.hpp>
 #include <boost/range/algorithm/copy.hpp>
@@ -42,7 +42,7 @@
             typedef std::string str_; typedef variant< int, str_ > data_;
             array<data_, 16> keypad;
             
- /*<<Equivalent to `put( keypad )( "+" )( "-" )...( "." )( 0 )...( 9 )`>>*/csv_put( keypad, "+", "-", "*", "/", "=", "." , as_arg_list( numeric ) );
+ /*<<Equivalent to `put( keypad )( "+" )( "-" )...( "." )( 0 )...( 9 )`>>*/csv_put( keypad, "+", "-", "*", "/", "=", ".", as_arg_list( numeric ) );
 
             assert( get<str_>( keypad.front() ) == "+" );
             assert( get<int>( keypad.back() ) == 9 );


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