Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r68022 - in sandbox/statistics/support/libs/assign/v2: example example/put example/utility src test/put test/unit_testing
From: erwann.rogard_at_[hidden]
Date: 2011-01-11 20:11:49


Author: e_r
Date: 2011-01-11 20:11:46 EST (Tue, 11 Jan 2011)
New Revision: 68022
URL: http://svn.boost.org/trac/boost/changeset/68022

Log:
upd libs/assign/v2
Text files modified:
   sandbox/statistics/support/libs/assign/v2/example/put/deque.cpp | 5 +----
   sandbox/statistics/support/libs/assign/v2/example/utility.cpp | 6 +++---
   sandbox/statistics/support/libs/assign/v2/example/utility.h | 4 ++--
   sandbox/statistics/support/libs/assign/v2/example/utility/chain.cpp | 4 ++--
   sandbox/statistics/support/libs/assign/v2/example/utility/chain.h | 4 ++--
   sandbox/statistics/support/libs/assign/v2/example/utility/convert.cpp | 4 ++--
   sandbox/statistics/support/libs/assign/v2/example/utility/convert.h | 4 ++--
   sandbox/statistics/support/libs/assign/v2/example/utility/sub_range.cpp | 4 ++--
   sandbox/statistics/support/libs/assign/v2/example/utility/sub_range.h | 4 ++--
   sandbox/statistics/support/libs/assign/v2/src/main.cpp | 4 ++--
   sandbox/statistics/support/libs/assign/v2/test/put/ptr.cpp | 36 ++++++++++++++++++------------------
   sandbox/statistics/support/libs/assign/v2/test/unit_testing/Jamfile.v2 | 3 +--
   12 files changed, 39 insertions(+), 43 deletions(-)

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-11 20:11:46 EST (Tue, 11 Jan 2011)
@@ -43,7 +43,6 @@
                     //]
                     os << std::endl;
             }
-/*
             {
                     //[deque_front
                     boost::for_each(
@@ -51,12 +50,10 @@
                         as2::deque<int>( as2::_nil ) % as2::_push_front
                     )( -1 )( 0 )( 1 ),
                     os << bl::_1 << ' '
- );
- // outputs 1 0 -1
+ );// outputs 1 0 -1
                     //]
                     os << std::endl;
             }
-*/
         }
     }
 

Modified: sandbox/statistics/support/libs/assign/v2/example/utility.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/utility.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/example/utility.cpp 2011-01-11 20:11:46 EST (Tue, 11 Jan 2011)
@@ -13,16 +13,16 @@
 #include <libs/assign/v2/example/utility.h>
 
 namespace example_assign_v2{
-namespace xxx_misc{
+namespace xxx_utility{
 
     void run(std::ostream& os)
     {
- os << "** xxx_misc" << std::endl;
+ os << "** xxx_utility" << std::endl;
             xxx_chain::run( os );
             xxx_convert::run( os );
             xxx_sub_range::run( os );
     }
 
-}// xxx_misc
+}// xxx_utility
 }// example_assign_v2
 

Modified: sandbox/statistics/support/libs/assign/v2/example/utility.h
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/utility.h (original)
+++ sandbox/statistics/support/libs/assign/v2/example/utility.h 2011-01-11 20:11:46 EST (Tue, 11 Jan 2011)
@@ -12,11 +12,11 @@
 #include <ostream>
 
 namespace example_assign_v2{
-namespace xxx_misc{
+namespace xxx_utility{
 
     void run(std::ostream& os);
 
-}// xxx_misc
+}// xxx_utility
 }// example_assign_v2
 
 #endif

Modified: sandbox/statistics/support/libs/assign/v2/example/utility/chain.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/utility/chain.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/example/utility/chain.cpp 2011-01-11 20:11:46 EST (Tue, 11 Jan 2011)
@@ -16,7 +16,7 @@
 #include <libs/assign/v2/example/utility/chain.h>
 
 namespace example_assign_v2{
-namespace xxx_misc{
+namespace xxx_utility{
 namespace xxx_chain{
 
     void run(std::ostream& os)
@@ -53,5 +53,5 @@
     }
 
 }// xxx_chain
-}// xxx_misc
+}// xxx_utility
 }// example_assign_v2

Modified: sandbox/statistics/support/libs/assign/v2/example/utility/chain.h
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/utility/chain.h (original)
+++ sandbox/statistics/support/libs/assign/v2/example/utility/chain.h 2011-01-11 20:11:46 EST (Tue, 11 Jan 2011)
@@ -12,13 +12,13 @@
 #include <ostream>
 
 namespace example_assign_v2{
-namespace xxx_misc{
+namespace xxx_utility{
 namespace xxx_chain{
 
     void run(std::ostream& os);
 
 }// xxx_chain
-}// xxx_misc
+}// xxx_utility
 }// example_assign_v2
 
 #endif

Modified: sandbox/statistics/support/libs/assign/v2/example/utility/convert.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/utility/convert.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/example/utility/convert.cpp 2011-01-11 20:11:46 EST (Tue, 11 Jan 2011)
@@ -16,7 +16,7 @@
 #include <libs/assign/v2/example/utility/convert.h>
 
 namespace example_assign_v2{
-namespace xxx_misc{
+namespace xxx_utility{
 namespace xxx_convert{
 
     void run(std::ostream& os)
@@ -38,5 +38,5 @@
     }
 
 }// xxx_convert
-}// xxx_misc
+}// xxx_utility
 }// example_assign_v2

Modified: sandbox/statistics/support/libs/assign/v2/example/utility/convert.h
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/utility/convert.h (original)
+++ sandbox/statistics/support/libs/assign/v2/example/utility/convert.h 2011-01-11 20:11:46 EST (Tue, 11 Jan 2011)
@@ -12,13 +12,13 @@
 #include <ostream>
 
 namespace example_assign_v2{
-namespace xxx_misc{
+namespace xxx_utility{
 namespace xxx_convert{
 
     void run(std::ostream& os);
 
 }// xxx_convert
-}// xxx_misc
+}// xxx_utility
 }// example_assign_v2
 
 #endif

Modified: sandbox/statistics/support/libs/assign/v2/example/utility/sub_range.cpp
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/utility/sub_range.cpp (original)
+++ sandbox/statistics/support/libs/assign/v2/example/utility/sub_range.cpp 2011-01-11 20:11:46 EST (Tue, 11 Jan 2011)
@@ -15,7 +15,7 @@
 #include <libs/assign/v2/example/utility/sub_range.h>
 
 namespace example_assign_v2{
-namespace xxx_misc{
+namespace xxx_utility{
 namespace xxx_sub_range{
 
     void run(std::ostream& os)
@@ -34,5 +34,5 @@
     }
 
 }// xxx_sub_range
-}// xxx_misc
+}// xxx_utility
 }// example_assign_v2

Modified: sandbox/statistics/support/libs/assign/v2/example/utility/sub_range.h
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/example/utility/sub_range.h (original)
+++ sandbox/statistics/support/libs/assign/v2/example/utility/sub_range.h 2011-01-11 20:11:46 EST (Tue, 11 Jan 2011)
@@ -12,13 +12,13 @@
 #include <ostream>
 
 namespace example_assign_v2{
-namespace xxx_misc{
+namespace xxx_utility{
 namespace xxx_sub_range{
 
     void run(std::ostream& os);
 
 }// xxx_sub_range
-}// xxx_misc
+}// xxx_utility
 }// example_assign_v2
 
 #endif

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-11 20:11:46 EST (Tue, 11 Jan 2011)
@@ -16,7 +16,7 @@
         {
             using namespace test_assign_v2;
                 xxx_detail::test();
- xxx_misc::test();
+ xxx_utility::test();
                 xxx_put::test();
                 xxx_ref::test();
     }
@@ -24,7 +24,7 @@
                 using namespace example_assign_v2;
                 xxx_ref::run(std::cout);
                 xxx_put::run(std::cout);
- xxx_misc::run(std::cout);
+ xxx_utility::run(std::cout);
     }
     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 2011-01-11 20:11:46 EST (Tue, 11 Jan 2011)
@@ -15,7 +15,7 @@
 #include <boost/ptr_container/ptr_vector.hpp>
 #include <boost/assign/v2/detail/checking/constants.hpp>
 #include <boost/assign/v2/detail/checking/container.hpp>
-#include <boost/assign/v2.hpp>
+#include <boost/assign/v2/put/sub.hpp>
 
 #include <libs/assign/v2/test/put/ptr.h>
 
@@ -24,16 +24,16 @@
 namespace xxx_ptr{
 
         void test(){
- using namespace boost::assign::v2;
+ namespace as2 = boost::assign::v2;
         { // Array
             {
                 typedef boost::ptr_array<int, 8> cont_;
                 cont_ cont;
                 {
- using namespace checking::constants;
- using namespace checking::container;
- do_check(
- csv_put( cont )
+ using namespace as2:: checking::constants;
+ namespace ns = as2::checking::container;
+ ns::do_check(
+ as2::csv_put( cont )
                             ( a , b , c , d , e , f , g , h ).unwrap()
                     );
                 }
@@ -45,10 +45,10 @@
                 typedef boost::ptr_deque<int> cont_;
                 cont_ cont;
                 {
- using namespace checking::constants;
- using namespace checking::container;
- do_check(
- put( cont )
+ using namespace as2:: checking::constants;
+ namespace ns = as2::checking::container;
+ ns::do_check(
+ as2::put( cont )
                             ( a )( b )( c )( d )( e )( f )( g )( h ).unwrap()
                     );
                 }
@@ -57,10 +57,10 @@
                 typedef boost::ptr_list<int> cont_;
                 cont_ cont;
                 {
- using namespace checking::constants;
- using namespace checking::container;
- do_check(
- put( cont )
+ using namespace as2:: checking::constants;
+ namespace ns = as2::checking::container;
+ ns::do_check(
+ as2::put( cont )
                             ( a )( b )( c )( d )( e )( f )( g )( h ).unwrap()
                     );
                 }
@@ -69,10 +69,10 @@
                 typedef boost::ptr_vector<int> cont_;
                 cont_ cont;
                 {
- using namespace checking::constants;
- using namespace checking::container;
- do_check(
- put( cont )
+ using namespace as2:: checking::constants;
+ namespace ns = as2::checking::container;
+ ns::do_check(
+ as2::put( cont )
                             ( a )( b )( c )( d )( e )( f )( g )( h ).unwrap()
                     );
                 }

Modified: sandbox/statistics/support/libs/assign/v2/test/unit_testing/Jamfile.v2
==============================================================================
--- sandbox/statistics/support/libs/assign/v2/test/unit_testing/Jamfile.v2 (original)
+++ sandbox/statistics/support/libs/assign/v2/test/unit_testing/Jamfile.v2 2011-01-11 20:11:46 EST (Tue, 11 Jan 2011)
@@ -16,11 +16,10 @@
 }
 
 test-suite assign :
- [ assign-test type_traits ]
     [ assign-test detail ]
     [ assign-test put ]
     [ assign-test ref ]
- [ assign-test misc ]
+ [ assign-test utility ]
 ;
 
 


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