|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r60549 - in sandbox/statistics/detail/assign/boost/assign/auto_size: . chain check reference_wrapper
From: erwann.rogard_at_[hidden]
Date: 2010-03-12 23:25:37
Author: e_r
Date: 2010-03-12 23:25:36 EST (Fri, 12 Mar 2010)
New Revision: 60549
URL: http://svn.boost.org/trac/boost/changeset/60549
Log:
m
Text files modified:
sandbox/statistics/detail/assign/boost/assign/auto_size/chain/mpl_check.hpp | 2 +-
sandbox/statistics/detail/assign/boost/assign/auto_size/chain/reference_wrapper_traits.hpp | 6 +++---
sandbox/statistics/detail/assign/boost/assign/auto_size/check/adapter.hpp | 4 ++--
sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain.hpp | 2 +-
sandbox/statistics/detail/assign/boost/assign/auto_size/check/fifo.hpp | 2 +-
sandbox/statistics/detail/assign/boost/assign/auto_size/check/lifo.hpp | 2 +-
sandbox/statistics/detail/assign/boost/assign/auto_size/check/ref_list_of.hpp | 5 ++---
sandbox/statistics/detail/assign/boost/assign/auto_size/ref_list_of.hpp | 4 ++--
sandbox/statistics/detail/assign/boost/assign/auto_size/ref_rebind_list_of.hpp | 4 ++--
sandbox/statistics/detail/assign/boost/assign/auto_size/reference_wrapper/rebind.hpp | 4 ++--
10 files changed, 17 insertions(+), 18 deletions(-)
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/chain/mpl_check.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/chain/mpl_check.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/chain/mpl_check.hpp 2010-03-12 23:25:36 EST (Fri, 12 Mar 2010)
@@ -61,6 +61,7 @@
: assert_cond<boost::is_same<T,U>,is>{};
namespace convert_wrapper{
+
template<typename T>
struct helper : reference_traits::convert_wrapper<T> {};
@@ -69,7 +70,6 @@
: chain_mpl_check::assert_eq<typename helper<T>::type,U,is>
{};
-
}
namespace pair_traits{
namespace convert_wrapper{
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/chain/reference_wrapper_traits.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/chain/reference_wrapper_traits.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/chain/reference_wrapper_traits.hpp 2010-03-12 23:25:36 EST (Fri, 12 Mar 2010)
@@ -62,9 +62,9 @@
template<>
template<typename T>
struct convertible_to<tag::default_>::apply<T>
- : boost::add_reference<
- typename ref_wrapper_traits::value_of<T>::type
- >
+ : boost::add_reference<
+ typename ref_wrapper_traits::value_of<T>::type
+ >
{};
}
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/check/adapter.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/check/adapter.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/check/adapter.hpp 2010-03-12 23:25:36 EST (Fri, 12 Mar 2010)
@@ -20,7 +20,7 @@
namespace detail{
namespace auto_size{
- template<typename C1,typename T>
+ template<typename C1,typename T>
void check_adapter(std::queue<T>& elems,const C1& coll,
const T& a,const T& b,const T& c,const T& d,const T& e,const T& f,
const T& g,const T& h
@@ -29,7 +29,7 @@
check_fifo(elems,coll,a,b,c,d,e,f,g,h);
}
- template<typename C1,typename T>
+ template<typename C1,typename T>
void check_adapter(std::stack<T>& elems,const C1& coll,
const T& a,const T& b,const T& c,const T& d,const T& e,const T& f,
const T& g,const T& h
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/check/chain.hpp 2010-03-12 23:25:36 EST (Fri, 12 Mar 2010)
@@ -30,7 +30,7 @@
// a,b,c,d,e,f,g,h);
// TODO const C1.
- template<typename C,typename C1,typename T>
+ template<typename C,typename C1,typename T>
void check_chain(C& coll,C1& coll1,
T& a, T& b, T& c, T& d, T& e, T& f, T& g, T& h
)
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/check/fifo.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/check/fifo.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/check/fifo.hpp 2010-03-12 23:25:36 EST (Fri, 12 Mar 2010)
@@ -20,7 +20,7 @@
namespace detail{
namespace auto_size{
- template<typename C,typename C1,typename T>
+ template<typename C,typename C1,typename T>
void check_fifo(C& elems,const C1& coll,
const T& a,const T& b,const T& c,const T& d,const T& e,const T& f,
const T& g,const T& h
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/check/lifo.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/check/lifo.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/check/lifo.hpp 2010-03-12 23:25:36 EST (Fri, 12 Mar 2010)
@@ -20,7 +20,7 @@
namespace detail{
namespace auto_size{
- template<typename C,typename C1,typename T>
+ template<typename C,typename C1,typename T>
void check_lifo(C& elems,const C1& coll,
const T& a,const T& b,const T& c,const T& d,const T& e,const T& f,
const T& g,const T& h
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/check/ref_list_of.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/check/ref_list_of.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/check/ref_list_of.hpp 2010-03-12 23:25:36 EST (Fri, 12 Mar 2010)
@@ -57,12 +57,12 @@
cref_list_of(1)(5)(3)(d)(e)(f)(g)(h) );
BOOST_ASSIGN_CHECK_EQUAL( max , const_max );
}
- {
+ {
check_iterator(
cref_list_of(a1)(b1)(c1)(d1)(e1)(f1)(g1)(h1),
a1,b1,c1,d1,e1,f1,g1,h1);
}
- {
+ {
check_array(
cref_list_of(a1)(b1)(c1)(d1)(e1)(f1)(g1)(h1),
a1,b1,c1,d1,e1,f1,g1,h1);
@@ -133,7 +133,6 @@
ref_list_of(a1)(b1)(c1)(d1)(e1)(f1)(g1)(h1),
a1,b1,c1,d1,e1,f1,g1,h1);
}
-
{
val_ a, b, c, d, e, f, g, h;
BOOST_AUTO(tmp1,ref_list_of(a)(b)(c)(d));
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/ref_list_of.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/ref_list_of.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/ref_list_of.hpp 2010-03-12 23:25:36 EST (Fri, 12 Mar 2010)
@@ -15,7 +15,7 @@
namespace boost{
namespace assign{
- // custom policy :
+ // custom policy :
template<typename P,typename T>
typename detail::auto_size::first_copy<const T,P>::type
@@ -29,7 +29,7 @@
return detail::auto_size::first_copy<T,P>::call(t);
}
- // default policy :
+ // default policy :
template<typename T>
typename detail::auto_size::first_copy<const T>::type
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/ref_rebind_list_of.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/ref_rebind_list_of.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/ref_rebind_list_of.hpp 2010-03-12 23:25:36 EST (Fri, 12 Mar 2010)
@@ -15,7 +15,7 @@
namespace boost{
namespace assign{
- // custom policy :
+ // custom policy :
template<typename P,typename T>
typename detail::auto_size::first_rebind<const T,P>::type
@@ -29,7 +29,7 @@
return detail::auto_size::first_rebind<T,P>::call(t);
}
- // default policy :
+ // default policy :
template<typename T>
typename detail::auto_size::first_rebind<const T>::type
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/reference_wrapper/rebind.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/reference_wrapper/rebind.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/reference_wrapper/rebind.hpp 2010-03-12 23:25:36 EST (Fri, 12 Mar 2010)
@@ -51,8 +51,8 @@
};
- template<typename T>
- void rebind(assign_reference_rebind<T>& a,T& r){
+ template<typename T>
+ void rebind(assign_reference_rebind<T>& a,T& r){
a = r;
}
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