Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70344 - in sandbox/assign_v2: boost/assign/v2/framework libs/assign/v2/test libs/assign/v2/test/optional libs/assign/v2/test/put
From: erwann.rogard_at_[hidden]
Date: 2011-03-21 14:53:04


Author: e_r
Date: 2011-03-21 14:53:03 EDT (Mon, 21 Mar 2011)
New Revision: 70344
URL: http://svn.boost.org/trac/boost/changeset/70344

Log:
upd assign_v2
Text files modified:
   sandbox/assign_v2/boost/assign/v2/framework/fwd.hpp | 4 ++--
   sandbox/assign_v2/libs/assign/v2/test/deque.cpp | 6 +++---
   sandbox/assign_v2/libs/assign/v2/test/optional/iterate.cpp | 8 ++++----
   sandbox/assign_v2/libs/assign/v2/test/optional/lookup.cpp | 10 +++++-----
   sandbox/assign_v2/libs/assign/v2/test/optional/repeat.cpp | 4 ++--
   sandbox/assign_v2/libs/assign/v2/test/optional/standard.cpp | 14 +++++++-------
   sandbox/assign_v2/libs/assign/v2/test/put/ptr.cpp | 8 ++++----
   7 files changed, 27 insertions(+), 27 deletions(-)

Modified: sandbox/assign_v2/boost/assign/v2/framework/fwd.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/framework/fwd.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/framework/fwd.hpp 2011-03-21 14:53:03 EDT (Mon, 21 Mar 2011)
@@ -8,7 +8,7 @@
 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) //
 //////////////////////////////////////////////////////////////////////////////
 #ifndef BOOST_ASSIGN_V2_FRAMEWORK_FWD_ER_2010_HPP
-#define BOOST_ASSIGN_V2_FRAMEWORK__FWD_ER_2010_HPP
+#define BOOST_ASSIGN_V2_FRAMEWORK_FWD_ER_2010_HPP
 
 namespace boost{
 namespace assign{
@@ -25,5 +25,5 @@
 }// assign
 }// boost
 
-#endif // BOOST_ASSIGN_V2_FRAMEWORK__FWD_ER_2010_HPP
+#endif // BOOST_ASSIGN_V2_FRAMEWORK_FWD_ER_2010_HPP
 

Modified: sandbox/assign_v2/libs/assign/v2/test/deque.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/deque.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/deque.cpp 2011-03-21 14:53:03 EDT (Mon, 21 Mar 2011)
@@ -27,7 +27,7 @@
         using namespace boost;
         namespace as2 = assign::v2;
         {
- //[test_value_deque_pair
+ //[test_deque_pair
             typedef std::string str_;
             typedef std::pair<str_, str_> T;
             typedef as2::result_of::deque<T>::type C;
@@ -42,7 +42,7 @@
             range::equal( benchmark, airports );
             //]
         } {
- //[test_value_deque_ints
+ //[test_deque_ints
             typedef as2::result_of::deque<int>::type C1;
             typedef as2::result_of::csv_deque<int>::type C2;
             
@@ -66,7 +66,7 @@
             //]
         }
         {
- //[test_value_deque_str_literal
+ //[test_deque_str_literal
             typedef as2::result_of::deque<char*>::type C1;
             typedef as2::result_of::csv_deque<const char[2]>::type C2;
             

Modified: sandbox/assign_v2/libs/assign/v2/test/optional/iterate.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/optional/iterate.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/optional/iterate.cpp 2011-03-21 14:53:03 EDT (Mon, 21 Mar 2011)
@@ -35,7 +35,7 @@
         using namespace boost;
         namespace as2 = assign::v2;
         {
- //[test_value_modifier_iterate_meta
+ //[test_optional_iterate_meta
             typedef as2::aux::keyword_iterate keyword_;
             typedef as2::modifier_tag::iterate_arg arg_;
             typedef as2::aux::modulo_modifier<keyword_, arg_> modulo_;
@@ -50,7 +50,7 @@
             //]
         }
         {
- //[test_value_modifier_iterate_shifted
+ //[test_optional_iterate_shifted
                 using namespace lambda;
             typedef int T; array<T, 4> powers; powers[0] = 1; powers[1] = 10;
             int index = 2; ( as2::put( powers ) % ( as2::_iterate = var( index )++ ) )( 100 )( 1000 );
@@ -59,7 +59,7 @@
             //]
         }
         {
- //[test_value_modifier_iterate_meta_deque
+ //[test_optional_iterate_meta_deque
             typedef as2::aux::keyword_iterate keyword_;
             typedef as2::modifier_tag::iterate_arg arg_;
             typedef as2::aux::modulo_modifier<keyword_, arg_> modulo_;
@@ -73,7 +73,7 @@
             //]
         }
         {
- //[test_value_modifier_iterate_shifted_deque
+ //[test_optional_iterate_shifted_deque
                 using namespace lambda;
             as2::result_of::deque<int>::type missing_tail = as2::deque<int>( 1 )( 10 )( -1 )( -1 );
             int index = 2;

Modified: sandbox/assign_v2/libs/assign/v2/test/optional/lookup.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/optional/lookup.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/optional/lookup.cpp 2011-03-21 14:53:03 EDT (Mon, 21 Mar 2011)
@@ -1,4 +1,4 @@
-//////////////////////////////////////////////////////////////////////////////
+test_optional_//////////////////////////////////////////////////////////////////////////////
 // Boost.Assign v2 //
 // //
 // Copyright (C) 2003-2004 Thorsten Ottosen //
@@ -34,7 +34,7 @@
         using namespace boost;
         namespace as2 = assign::v2;
         {
- //[test_value_modifier_lookup_meta
+ //[test_optional_lookup_meta
                 using namespace lambda;
             typedef BOOST_TYPEOF(_1) arg_;
             typedef as2::aux::keyword_lookup keyword_;
@@ -50,7 +50,7 @@
             //]
         }
         {
- //[test_value_modifier_lookup_map
+ //[test_optional_lookup_map
                 using namespace lambda;
             typedef std::string str_; typedef std::map<str_, int> C; C year;
             (
@@ -63,7 +63,7 @@
             //]
         }
         {
- //[test_value_modifier_lookup_meta_deque
+ //[test_optional_lookup_meta_deque
                 using namespace lambda;
             typedef BOOST_TYPEOF(_1) arg_;
             typedef as2::aux::keyword_lookup keyword_;
@@ -78,7 +78,7 @@
             //]
         }
         {
- //[test_value_modifier_lookup_map_deque
+ //[test_optional_lookup_map_deque
                 using namespace lambda;
             BOOST_AUTO(
                 days_in_first_quater,

Modified: sandbox/assign_v2/libs/assign/v2/test/optional/repeat.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/optional/repeat.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/optional/repeat.cpp 2011-03-21 14:53:03 EDT (Mon, 21 Mar 2011)
@@ -27,7 +27,7 @@
         using namespace boost;
         namespace as2 = assign::v2;
         {
- //[test_value_modifier_repeat_simple
+ //[test_optional_repeat_simple
             std::vector<int> cont;
             ( as2::put( cont ) % ( as2::_repeat = 2 ) )( 72 )( 31 )( 48 );
 
@@ -35,7 +35,7 @@
             //]
         }
         {
- //[test_value_modifier_repeat_compose
+ //[test_optional_repeat_compose
             BOOST_AUTO(
                 cont, (
                     as2::deque<int>( as2::_nil ) % as2::_push_front % ( as2::_repeat = 2 )

Modified: sandbox/assign_v2/libs/assign/v2/test/optional/standard.cpp
==============================================================================
--- sandbox/assign_v2/libs/assign/v2/test/optional/standard.cpp (original)
+++ sandbox/assign_v2/libs/assign/v2/test/optional/standard.cpp 2011-03-21 14:53:03 EDT (Mon, 21 Mar 2011)
@@ -46,7 +46,7 @@
 
         // PUT
         {
- //[test_value_modifier_standard_meta
+ //[test_optional_standard_meta
             typedef as2::result_of::put<std::vector<int> >::type put_;
             typedef as2::aux::keyword_standard_modifier keyword_;
             typedef as2::modifier_tag::push_front tag_;
@@ -59,7 +59,7 @@
         }
         {
                 // fully qual boost::begin/end demanded by MSVC - error C2668
- //[test_value_modifier_push_front
+ //[test_optional_push_front
             std::deque<double> sqrt2;
             ( as2::put( sqrt2 ) % as2::_push_front )( 1.41421 )( 1.4142 )( 1.414 )( 1.41 );
 
@@ -69,7 +69,7 @@
             //]
         }
         {
- //[test_value_modifier_push
+ //[test_optional_push
             std::queue<int> fifo; ( as2::put( fifo ) % as2::_push )( 72 )( 31 )( 48 );
 
             BOOST_ASSIGN_V2_CHECK( fifo.front() == 72 );
@@ -77,7 +77,7 @@
             //]
         }
         {
- //[test_value_modifier_insert
+ //[test_optional_insert
             std::set<std::string> letters; ( as2::put( letters ) % as2::_insert )( "d" )( "a" )( "c" )( "b" );
 
             BOOST_ASSIGN_V2_CHECK( letters.lower_bound( "a" ) == boost::begin( letters ) );
@@ -85,7 +85,7 @@
             //]
         }
         {
- //[test_value_modifier_push_back
+ //[test_optional_push_back
             std::list<int> list;
             ( as2::put( list ) % as2::_push_back )( 72 )( 31 )( 48 );
 
@@ -94,7 +94,7 @@
         }
         // DEQUE
         {
- //[test_value_modifier_meta_deque
+ //[test_optional_meta_deque
             typedef as2::result_of::deque<int>::type put_;
             typedef as2::aux::keyword_standard_modifier keyword_;
             typedef as2::modifier_tag::push_front tag_;
@@ -107,7 +107,7 @@
             //]
         }
         {
- //[test_value_modifier_push_front_deque
+ //[test_optional_push_front_deque
             BOOST_AUTO(
                 powers,
                 ( as2::deque<int>( as2::_nil ) % as2::_push_front )( 16 )( 8 )( 4 )( 2 )( 1 )

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-03-21 14:53:03 EDT (Mon, 21 Mar 2011)
@@ -28,7 +28,7 @@
         namespace as2 = boost::assign::v2;
 
         {
- //[test_value_ptr_array
+ //[test_put_ptr_array
             typedef int T;
             T x = 1, y = 2, z = 3; boost::ptr_array<T, 3> cont;
             as2::put( cont )/*<<Calls `assoc[i++] = new T( t )` for `i = 0` and `t`[^ = ] `x`, `y`, and `z`>>*/( x )( y )( z );
@@ -38,7 +38,7 @@
             //]
         }
         {
- //[test_value_ptr_deque
+ //[test_put_ptr_deque
             typedef int T; T x = 1, y = 2, z = 0; boost::ptr_deque<T> cont;
             as2::put( cont )/*<<Calls `assoc.push_back( new T( t ) )` for `t` [^=] `x`, `y`, and `z`>>*/( x )( y )( z );
 
@@ -47,7 +47,7 @@
             //]
         }
         {
- //[test_value_ptr_list
+ //[test_put_ptr_list
             typedef int T; T x = 1, y = 2, z = 0; boost::ptr_list<T> cont;
             as2::put( cont )/*<<Calls `assoc.push_back( new T( t ) )` for `t` [^=] `x`, `y`, and `z`>>*/( x )( y )( z );
 
@@ -56,7 +56,7 @@
             //]
         }
         {
- //[test_value_ptr_vector
+ //[test_put_ptr_vector
             typedef int T; T x = 1, y = 2, z = 0; boost::ptr_vector<T> cont;
             as2::put( cont )/*<<Calls `assoc.push_back( new T( t ) )` for `t` [^=] `x`, `y`, and `z`>>*/( x )( y )( z );
 


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