|
Boost-Commit : |
From: daniel_james_at_[hidden]
Date: 2008-04-13 06:48:53
Author: danieljames
Date: 2008-04-13 06:48:53 EDT (Sun, 13 Apr 2008)
New Revision: 44363
URL: http://svn.boost.org/trac/boost/changeset/44363
Log:
Explicitly qualify call to move, so that we don't pick up other moves by ADL.
Text files modified:
sandbox/move/boost/move.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: sandbox/move/boost/move.hpp
==============================================================================
--- sandbox/move/boost/move.hpp (original)
+++ sandbox/move/boost/move.hpp 2008-04-13 06:48:53 EDT (Sun, 13 Apr 2008)
@@ -236,7 +236,7 @@
O move(I f, I l, O result)
{
while (f != l) {
- *result = move(*f);
+ *result = boost::move(*f);
++f; ++result;
}
return result;
@@ -251,7 +251,7 @@
*/
template <typename I, // I models InputRange
typename O> // O models OutputIterator
-inline O move(I& in, O out) { return move(boost::begin(in), boost::end(in), out); }
+inline O move(I& in, O out) { return boost::move(boost::begin(in), boost::end(in), out); }
/*************************************************************************************************/
@@ -266,7 +266,7 @@
{
while (f != l) {
--l; --result;
- *result = move(*l);
+ *result = boost::move(*l);
}
return result;
}
@@ -363,7 +363,7 @@
typename move_sink<typename std::iterator_traits<I>::value_type>::type = 0)
{
while (f != l) {
- move_construct(&*r, *f);
+ boost::move_construct(&*r, *f);
++f; ++r;
}
return 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