|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r59447 - sandbox/statistics/detail/assign/boost/assign
From: erwann.rogard_at_[hidden]
Date: 2010-02-03 15:13:52
Author: e_r
Date: 2010-02-03 15:13:51 EST (Wed, 03 Feb 2010)
New Revision: 59447
URL: http://svn.boost.org/trac/boost/changeset/59447
Log:
m
Text files modified:
sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
Modified: sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/cref_list_of2.hpp 2010-02-03 15:13:51 EST (Wed, 03 Feb 2010)
@@ -88,9 +88,12 @@
// Requirement: C(begin,end) constructor
template<typename C>
operator C(){
+ // TODO consider either bypassing the array altogether and call push_front
+ // (if available) or replace the array<T1> by array<assign::assign_reference<T1> > >
+
typedef typename boost::range_value<C>::type val_;
- typedef typename array<val_>::type ar_;
- ar_ ar;
+ typedef typename array<val_>::type ar_;
+ ar_ ar;
this->write_to_array(ar,exit_());
return C(boost::begin(ar),boost::end(ar));
}
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