|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r60486 - in sandbox/statistics/detail/assign: boost/assign/auto_size/detail boost/assign/auto_size/reference_wrapper libs/assign/src
From: erwann.rogard_at_[hidden]
Date: 2010-03-11 14:21:27
Author: e_r
Date: 2010-03-11 14:21:26 EST (Thu, 11 Mar 2010)
New Revision: 60486
URL: http://svn.boost.org/trac/boost/changeset/60486
Log:
m
Added:
sandbox/statistics/detail/assign/boost/assign/auto_size/reference_wrapper/
Text files modified:
sandbox/statistics/detail/assign/boost/assign/auto_size/detail/assign_reference_copy.hpp | 6 ++++++
sandbox/statistics/detail/assign/boost/assign/auto_size/detail/assign_reference_rebind.hpp | 5 +++++
sandbox/statistics/detail/assign/libs/assign/src/main.cpp | 10 +++++++---
3 files changed, 18 insertions(+), 3 deletions(-)
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/detail/assign_reference_copy.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/detail/assign_reference_copy.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/detail/assign_reference_copy.hpp 2010-03-11 14:21:26 EST (Thu, 11 Mar 2010)
@@ -58,6 +58,12 @@
};
+ // Added by ER March 10, 2010
+ template<typename T>
+ void rebind(assign_reference_copy<T>& a,T& r){
+ a.rebind(r);
+ }
+
// Added by ER March 7, 2010
template< class T >
inline bool operator<( const assign_reference_copy<T>& l,
Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/detail/assign_reference_rebind.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/detail/assign_reference_rebind.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/detail/assign_reference_rebind.hpp 2010-03-11 14:21:26 EST (Thu, 11 Mar 2010)
@@ -51,6 +51,11 @@
};
+ template<typename T>
+ void rebind(assign_reference_rebind<T>& a,T& r){
+ a = r;
+ }
+
template< class T >
inline bool operator<( const assign_reference_rebind<T>& l,
const assign_reference_rebind<T>& r )
Modified: sandbox/statistics/detail/assign/libs/assign/src/main.cpp
==============================================================================
--- sandbox/statistics/detail/assign/libs/assign/src/main.cpp (original)
+++ sandbox/statistics/detail/assign/libs/assign/src/main.cpp 2010-03-11 14:21:26 EST (Thu, 11 Mar 2010)
@@ -3,12 +3,16 @@
#include <boost/assign/auto_size/check/ref_list_of.hpp>
#include <boost/assign/auto_size/check/ref_csv.hpp>
#undef BOOST_ASSIGN_CHECK_EQUAL
+#include <libs/assign/example/chain.h>
int main (int argc, char * const argv[]) {
- boost::assign::detail::auto_size::check_ref_list_of<int>();
- std::cout << "check_ref_list_of : ok" << std::endl;
- // boost::assign::detail::auto_size::check_ref_csv<int>();
+ //boost::assign::detail::auto_size::check_ref_list_of<int>();
+ //std::cout << "check_ref_list_of : ok" << std::endl;
+ //boost::assign::detail::auto_size::check_ref_csv<int>();
+ //std::cout << "check_ref_csv : ok" << std::endl;
+
+ example_chain(std::cout);
return 0;
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