Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71747 - in sandbox/assign_v2: boost/assign/v2/conversion libs/assign/v2
From: erwann.rogard_at_[hidden]
Date: 2011-05-05 18:07:00


Author: e_r
Date: 2011-05-05 18:06:59 EDT (Thu, 05 May 2011)
New Revision: 71747
URL: http://svn.boost.org/trac/boost/changeset/71747

Log:
upd assign_v2
Text files modified:
   sandbox/assign_v2/boost/assign/v2/conversion/convert.hpp | 2 +-
   sandbox/assign_v2/libs/assign/v2/tutorial.cpp | 4 ++--
   2 files changed, 3 insertions(+), 3 deletions(-)

Modified: sandbox/assign_v2/boost/assign/v2/conversion/convert.hpp
==============================================================================
--- sandbox/assign_v2/boost/assign/v2/conversion/convert.hpp (original)
+++ sandbox/assign_v2/boost/assign/v2/conversion/convert.hpp 2011-05-05 18:06:59 EDT (Thu, 05 May 2011)
@@ -17,13 +17,13 @@
 namespace boost{
 namespace assign{
 namespace v2{
-//[syntax_conversion_convert
 namespace convert_tag{
 
     struct put{};
     struct copy{};
 
 }// convert_tag
+//[syntax_conversion_convert
 namespace conversion_aux{
 //<-
 

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-05 18:06:59 EDT (Thu, 05 May 2011)
@@ -42,7 +42,7 @@
             typedef std::string str_; typedef variant< int, str_ > data_;
             array<data_, 16> keypad;
             
- /*<<Equivalent to `put( keypad )( "+" )( "-" )...`>>*/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 );
@@ -66,7 +66,7 @@
         {
             //[tutorial_empty_deque
             assert( deque<int>( _nil ).size() == 0 ); // Functor form
- assert( csv_deque<int>().size() == 0 ); // Csv form
+ assert( csv_deque<int>().size() == 0 ); // Csv form
             //]
         }
         {


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