Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60650 - sandbox/statistics/detail/assign/libs/assign/example
From: erwann.rogard_at_[hidden]
Date: 2010-03-16 09:13:50


Author: e_r
Date: 2010-03-16 09:13:49 EDT (Tue, 16 Mar 2010)
New Revision: 60650
URL: http://svn.boost.org/trac/boost/changeset/60650

Log:
m
Text files modified:
   sandbox/statistics/detail/assign/libs/assign/example/chain.cpp | 6 +-----
   1 files changed, 1 insertions(+), 5 deletions(-)

Modified: sandbox/statistics/detail/assign/libs/assign/example/chain.cpp
==============================================================================
--- sandbox/statistics/detail/assign/libs/assign/example/chain.cpp (original)
+++ sandbox/statistics/detail/assign/libs/assign/example/chain.cpp 2010-03-16 09:13:49 EDT (Tue, 16 Mar 2010)
@@ -35,11 +35,8 @@
     ar_ ar4; ar4.assign( 2 );
     ar_ ar5; ar5.assign( 3 );
         BOOST_AUTO(tmp1,ref_list_of(a)(b)(c)(d));
- BOOST_AUTO(tmp2,cref_list_of(e)(f)(g)(h));
- BOOST_AUTO(tmp3,ref_csv(a,b,c,d));
- BOOST_AUTO(tmp4,ref_csv(e,f,g,h));
+ BOOST_AUTO(tmp2,ref_list_of(e)(f)(g)(h));
     
-/*
     boost::copy(
         chain_convert_r(tmp2)(ar4)(ar5),
         std::ostream_iterator<val_>(os," ")
@@ -65,7 +62,6 @@
         std::ostream_iterator<val_>(os," ")
     ); // this is a case where without _r, there would be compile error
 
-*/
    // Why chain_convert is required :
    //invalid initialization of reference of type 'boost::assign::detail::assign_reference_copy<example_chain::val_>&'
    // from expression of type 'int'


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