Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67868 - in sandbox/statistics/support/libs/assign/v2: example example/put example/ref src
From: erwann.rogard_at_[hidden]
Date: 2011-01-09 12:28:11


Author: e_r
Date: 2011-01-09 12:28:07 EST (Sun, 09 Jan 2011)
New Revision: 67868
URL: http://svn.boost.org/trac/boost/changeset/67868

Log:
upd libs/assign/v2
Text files modified:
   sandbox/statistics/support/libs/assign/v2/example/chain.cpp | 3 +--
   sandbox/statistics/support/libs/assign/v2/example/put/deque.cpp | 3 +--
   sandbox/statistics/support/libs/assign/v2/example/ref/array.cpp | 3 +--
   sandbox/statistics/support/libs/assign/v2/src/main.cpp | 4 ----
   4 files changed, 3 insertions(+), 10 deletions(-)

Modified: sandbox/statistics/support/libs/assign/v2/example/chain.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/chain.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/example/chain.cpp 2011-01-09 12:28:07 EST (Sun, 09 Jan 2011)
@@ -30,8 +30,7 @@
             boost::for_each(
                 ar | as2::_chain( list ) | as2::_chain( vec ),
                 os << bl::_1 << ' '
- );
- // outputs 0, 1, 2, 3, 4
+ ); // outputs 0, 1, 2, 3, 4
             //]
         }
         {

Modified: sandbox/statistics/support/libs/assign/v2/example/put/deque.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/put/deque.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/example/put/deque.cpp 2011-01-09 12:28:07 EST (Sun, 09 Jan 2011)
@@ -32,8 +32,7 @@
             os << std::endl;
             os << "deque" << ' ';
             {
- int x = 0;
- assert( as2::deque<Foo>( x )().size() == 1 );
+ assert( as2::deque<Foo>().size() == 1 );
             }
             {
                     //[deque

Modified: sandbox/statistics/support/libs/assign/v2/example/ref/array.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/ref/array.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/example/ref/array.cpp 2011-01-09 12:28:07 EST (Sun, 09 Jan 2011)
@@ -49,8 +49,7 @@
             boost::for_each(
                 as2::ref::array( -1 )( 0 )( 1 ),
                 os << bl::_1 << ' '
- );
- // outputs -1 0 1
+ ); // outputs -1 0 1
             //]
                 }
 

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 2011-01-09 12:28:07 EST (Sun, 09 Jan 2011)
@@ -1,7 +1,6 @@
 #include <iostream>
 #include <boost/assert.hpp>
 
-/*
 #include <libs/assign/v2/test/chain.h>
 #include <libs/assign/v2/test/detail.h>
 #include <libs/assign/v2/test/type_traits.h>
@@ -10,13 +9,11 @@
 #include <libs/assign/v2/example/chain.h>
 #include <libs/assign/v2/example/ref.h>
 #include <libs/assign/v2/example/put.h>
-*/
 
 int main (int argc, char * const argv[])
 {
 
     // Warning : Do not put libs/assign/v2/test/unit_testing in this project
-/*
         {
             using namespace test_assign_v2;
                 xxx_type_traits::test();
@@ -31,7 +28,6 @@
                 xxx_ref::run(std::cout);
                 xxx_put::run(std::cout);
     }
-*/
     return 0;
 
 }


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