Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60649 - in sandbox/statistics/detail/assign: boost/assign/auto_size/array boost/assign/auto_size/detail libs/assign/doc libs/assign/example
From: erwann.rogard_at_[hidden]
Date: 2010-03-16 09:12:27


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

Log:
m
Text files modified:
   sandbox/statistics/detail/assign/boost/assign/auto_size/array/interface.hpp | 3 +--
   sandbox/statistics/detail/assign/boost/assign/auto_size/detail/expr.hpp | 1 -
   sandbox/statistics/detail/assign/libs/assign/doc/index.html | 4 ++--
   sandbox/statistics/detail/assign/libs/assign/example/chain.cpp | 10 ++++++----
   4 files changed, 9 insertions(+), 9 deletions(-)

Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/array/interface.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/array/interface.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/array/interface.hpp 2010-03-16 09:12:27 EDT (Tue, 16 Mar 2010)
@@ -12,10 +12,10 @@
 #include <boost/mpl/bool.hpp>
 #include <boost/array.hpp>
 #include <boost/range.hpp>
+#include <boost/assign/auto_size/array/comparison.hpp>
 #include <boost/assign/list_of.hpp> // for assign_detail::converter
 #include <boost/assign/auto_size/reference_wrapper/has_copy_semantics.hpp>
 #include <boost/assign/auto_size/array/ref.hpp>
-#include <boost/assign/auto_size/chain/as_member.hpp>
 
 namespace boost{
 namespace assign{
@@ -52,7 +52,6 @@
             array_interface<T,N,R,D>,
         typename array_interface_traits<T,N,R>::const_iterator
>
- //,public detail::chain_as_member<array_interface<T,N,R,D> >
     {
         typedef array_interface_traits<T,N,R> traits;
         typedef typename traits::ref_ ref_;

Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/detail/expr.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/detail/expr.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/detail/expr.hpp 2010-03-16 09:12:27 EDT (Tue, 16 Mar 2010)
@@ -28,7 +28,6 @@
 #include <boost/assign/auto_size/detail/types.hpp>
 #include <boost/assign/auto_size/detail/expr_size.hpp>
 #include <boost/assign/auto_size/detail/expr_elem.hpp>
-//#include <boost/assign/auto_size/detail/result_of_chain.hpp>
 #include <boost/assign/auto_size/array/lazy.hpp>
 
 // Creates a collection of references by deducing the number of arguments

Modified: sandbox/statistics/detail/assign/libs/assign/doc/index.html
==============================================================================
--- sandbox/statistics/detail/assign/libs/assign/doc/index.html (original)
+++ sandbox/statistics/detail/assign/libs/assign/doc/index.html 2010-03-16 09:12:27 EDT (Tue, 16 Mar 2010)
@@ -1667,8 +1667,8 @@
 </p>
 <p>
    The successive arguments that are passed to the unary operator must be allocated on the stack.
- Consequently, this set up is ill-suited for the method range() whose argument size must
- be specified explicitly, unlike the remainder of this library. As long as the policy
+ Consequently, this set up is ill-suited for the method range() whose argument size, here, must
+ be specified explicitly, unlike in the remainder of this library. As long as the policy
    exposes iterators, however, it is interoperable with the function chain_convert_l()
    and chain_convert_r(), which serve a similar purpose.
 </p>

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:12:27 EDT (Tue, 16 Mar 2010)
@@ -11,6 +11,7 @@
 #include <boost/range/algorithm/copy.hpp>
 #include <boost/ref.hpp>
 #include <boost/assign/auto_size/ref_list_of.hpp>
+#include <boost/assign/auto_size/ref_csv.hpp>
 #include <boost/assign/auto_size/reference_wrapper/conversion_traits.hpp>
 #include <boost/assign/auto_size/chain/convert_range.hpp>
 #include <boost/assign/auto_size/chain/chain_convert.hpp>
@@ -21,8 +22,6 @@
 
     //boost::assign::detail::chain_mpl_check::compound();
  
-
-
     using namespace boost::assign;
     using namespace boost::assign::detail;
         os << "-> example_chain: " << std::endl;
@@ -36,8 +35,11 @@
     ar_ ar4; ar4.assign( 2 );
     ar_ ar5; ar5.assign( 3 );
         BOOST_AUTO(tmp1,ref_list_of(a)(b)(c)(d));
- BOOST_AUTO(tmp2,ref_list_of(e)(f)(g)(h));
+ 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::copy(
         chain_convert_r(tmp2)(ar4)(ar5),
         std::ostream_iterator<val_>(os," ")
@@ -63,7 +65,7 @@
         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