Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60212 - in sandbox/statistics/detail/assign: boost/assign/auto_size/detail libs/assign/example
From: erwann.rogard_at_[hidden]
Date: 2010-03-05 15:49:26


Author: e_r
Date: 2010-03-05 15:49:25 EST (Fri, 05 Mar 2010)
New Revision: 60212
URL: http://svn.boost.org/trac/boost/changeset/60212

Log:
m
Text files modified:
   sandbox/statistics/detail/assign/boost/assign/auto_size/detail/expr.hpp | 2 --
   sandbox/statistics/detail/assign/libs/assign/example/ref_list_of.cpp | 3 ++-
   2 files changed, 2 insertions(+), 3 deletions(-)

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-05 15:49:25 EST (Fri, 05 Mar 2010)
@@ -119,8 +119,6 @@
 
         // private: // temporarily commented out
                 
- typedef boost::shared_ptr<result_type> shared_;
-
         template<int K,typename ForwardIterator>
         typename result_of::expr<T,N+K,Ref,P>::type
         next_impl(ForwardIterator first)const{

Modified: sandbox/statistics/detail/assign/libs/assign/example/ref_list_of.cpp
==============================================================================
--- sandbox/statistics/detail/assign/libs/assign/example/ref_list_of.cpp (original)
+++ sandbox/statistics/detail/assign/libs/assign/example/ref_list_of.cpp 2010-03-05 15:49:25 EST (Fri, 05 Mar 2010)
@@ -46,8 +46,9 @@
             BOOST_ASSERT(ints[2] == c);
 
                         // BUG for K > 1
+ typedef boost::mpl::int_<3> K_;
                     BOOST_AUTO(tmp,cref_list_of(a)(b)(3)
- .next_impl<3>(boost::begin(ints))
+ .next_impl<K_::value>(boost::begin(ints))
             );
 
             BOOST_ASSERT(tmp[0] == a);


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