|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r60915 - in sandbox/statistics/detail/assign/boost/assign/auto_size: array check
From: erwann.rogard_at_[hidden]
Date: 2010-03-29 11:42:39
Author: e_r
Date: 2010-03-29 11:42:38 EDT (Mon, 29 Mar 2010)
New Revision: 60915
URL: http://svn.boost.org/trac/boost/changeset/60915
Log:
m
Text files modified:
sandbox/statistics/detail/assign/boost/assign/auto_size/array/interface.hpp | 12 ++----------
sandbox/statistics/detail/assign/boost/assign/auto_size/check/converter.hpp | 4 ++--
sandbox/statistics/detail/assign/boost/assign/auto_size/check/rebind_array.hpp | 2 +-
3 files changed, 5 insertions(+), 13 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-29 11:42:38 EDT (Mon, 29 Mar 2010)
@@ -59,16 +59,9 @@
// Valid expression Result
// d1.ref_array_impl() array_interface::ref_array_&
// d2.ref_array_impl() array_interface::const ref_array_&
- //
- // All non comparison ops are forwarded to converter<>. Comparison ops
- // are taken care of by range_comparison_op::base_of<>::type.
template<typename T,std::size_t N,template<typename> class R,typename D>
class array_interface
:
-// assign_detail::converter<
-// array_interface<T,N,R,D>,
-// typename array_interface_traits<T,N,R>::const_iterator
-// >,
public range_comparison_op::base_of<
array_interface<T,N,R,D>
>::type
@@ -120,10 +113,9 @@
return this->assign(val,pred_());
}
- // converter
protected:
- typedef assign_detail::converter<this_,const_iterator> converter_;
- friend class assign_detail::converter<this_,const_iterator>;
+ //typedef assign_detail::converter<this_,const_iterator> converter_;
+ //friend class assign_detail::converter<this_,const_iterator>;
public:
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/check/converter.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/check/converter.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/check/converter.hpp 2010-03-29 11:42:38 EDT (Mon, 29 Mar 2010)
@@ -21,7 +21,7 @@
{ \
typedef T val_; \
\
- using namespace boost::assign; \
+ using namespace boost::assign; \
using namespace check_constants; \
C elems = BOOST_ASSIGN_AS_CHECK_cref8(a,b,c,d,e,f,g,h); \
check_iterator_impl(boost::begin(elems)); \
@@ -32,7 +32,7 @@
{ \
typedef T val_; \
\
- using namespace boost::assign; \
+ using namespace boost::assign; \
using namespace check_constants; \
C elems = BOOST_ASSIGN_AS_CHECK_cref8(a,b,c,d,e,f,g,h); \
check_iterator_sorted_impl(boost::begin(elems)); \
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/check/rebind_array.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/check/rebind_array.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/check/rebind_array.hpp 2010-03-29 11:42:38 EDT (Mon, 29 Mar 2010)
@@ -22,7 +22,7 @@
d1 = d, e1 = e, f1 = f; \
BOOST_AUTO(tmp1,BOOST_ASSIGN_AS_CHECK_ref_rebind3(a1, b1, c1)); \
BOOST_AUTO(tmp2,BOOST_ASSIGN_AS_CHECK_ref_rebind3(d1, e1, f1)); \
- tmp1.swap(tmp2); \
+ tmp1.swap(tmp2); \
BOOST_ASSIGN_CHECK_EQUAL( tmp1[0] , d ); \
BOOST_ASSIGN_CHECK_EQUAL( tmp1[1] , e ); \
BOOST_ASSIGN_CHECK_EQUAL( tmp1[2] , f ); \
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