$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r70850 - trunk/boost/range/algorithm
From: neil_at_[hidden]
Date: 2011-04-02 06:14:52
Author: neilgroves
Date: 2011-04-02 06:14:51 EDT (Sat, 02 Apr 2011)
New Revision: 70850
URL: http://svn.boost.org/trac/boost/changeset/70850
Log:
[boost][range] - Improved the work-around for VC10 for_each implementation. Corrected a missing newline at the end of the file.
Text files modified: 
   trunk/boost/range/algorithm/for_each.hpp |     5 +++--                                   
   1 files changed, 3 insertions(+), 2 deletions(-)
Modified: trunk/boost/range/algorithm/for_each.hpp
==============================================================================
--- trunk/boost/range/algorithm/for_each.hpp	(original)
+++ trunk/boost/range/algorithm/for_each.hpp	2011-04-02 06:14:51 EDT (Sat, 02 Apr 2011)
@@ -14,6 +14,7 @@
 #include <boost/range/end.hpp>
 #include <boost/range/concepts.hpp>
 #include <boost/ref.hpp>
+#include <boost/utility.hpp>
 #include <algorithm>
 
 #if BOOST_WORKAROUND(BOOST_MSVC, == 1600)
@@ -54,7 +55,7 @@
                             void
                           >::type* = 0)
             {
-                return std::for_each(first, last, fn);
+                return std::for_each<Iterator, UnaryFunction>(first, last, fn);
             }
         }
 #endif
@@ -106,4 +107,4 @@
     using range::for_each;
 } // namespace boost
 
-#endif // include guard
\ No newline at end of file
+#endif // include guard