Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64714 - in sandbox/statistics/support/libs/assign/v2: src test/put
From: erwann.rogard_at_[hidden]
Date: 2010-08-09 17:47:48


Author: e_r
Date: 2010-08-09 17:47:46 EDT (Mon, 09 Aug 2010)
New Revision: 64714
URL: http://svn.boost.org/trac/boost/changeset/64714

Log:
small update
Text files modified:
   sandbox/statistics/support/libs/assign/v2/src/main.cpp | 2
   sandbox/statistics/support/libs/assign/v2/test/put/ptr.cpp | 45 +++++++++++++++++++--------------------
   2 files changed, 23 insertions(+), 24 deletions(-)

Modified: sandbox/statistics/support/libs/assign/v2/src/main.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/src/main.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/src/main.cpp 2010-08-09 17:47:46 EDT (Mon, 09 Aug 2010)
@@ -60,7 +60,7 @@
     {
             using namespace example_assign_v2;
             xxx_tutorial::run();
- xxx_experimental::run();
+ //xxx_experimental::run();
     }
     return 0;
 

Modified: sandbox/statistics/support/libs/assign/v2/test/put/ptr.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/put/ptr.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/test/put/ptr.cpp 2010-08-09 17:47:46 EDT (Mon, 09 Aug 2010)
@@ -26,20 +26,21 @@
         void test(){
                 using namespace boost::assign::v2;
         { // Array
-
+// TODO
+/*
             {
                         typedef boost::ptr_array<int,8> cont_;
                 cont_ cont;
                 {
                             using namespace checking::constants;
- // TODO
- //put( cont )( a )( b )( c )( d )( e )( f )( g )( h );
- }
- {
- using namespace checking::container;
- //do_check( cont );
+ using namespace checking::container;
+ do_check(
+ put( cont )
+ ( a )( b )( c )( d )( e )( f )( g )( h ).unwrap()
+ );
                 }
                         }
+*/
         }
         { // Sequence
                 
@@ -48,11 +49,11 @@
                 cont_ cont;
                 {
                             using namespace checking::constants;
- put( cont )( a )( b )( c )( d )( e )( f )( g )( h );
- }
- {
                         using namespace checking::container;
- do_check( cont );
+ do_check(
+ put( cont )
+ ( a )( b )( c )( d )( e )( f )( g )( h ).unwrap()
+ );
                 }
             }// ptr_deque
             {
@@ -60,11 +61,11 @@
                 cont_ cont;
                 {
                             using namespace checking::constants;
- put( cont )( a )( b )( c )( d )( e )( f )( g )( h );
- }
- {
                         using namespace checking::container;
- do_check( cont );
+ do_check(
+ put( cont )
+ ( a )( b )( c )( d )( e )( f )( g )( h ).unwrap()
+ );
                 }
             }// ptr_list
             {
@@ -72,17 +73,15 @@
                 cont_ cont;
                 {
                             using namespace checking::constants;
- put( cont )( a )( b )( c )( d )( e )( f )( g )( h );
- }
- {
                         using namespace checking::container;
- do_check( cont );
+ do_check(
+ put( cont )
+ ( a )( b )( c )( d )( e )( f )( g )( h ).unwrap()
+ );
                 }
             }// ptr_vector
-
- }
-
- }
+ }// Sequence
+ }// test
   
 }// xxx_ptr
 }// xxx_put


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