Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62607 - trunk/libs/multi_array/example
From: jewillco_at_[hidden]
Date: 2010-06-08 18:56:22


Author: jewillco
Date: 2010-06-08 18:56:21 EDT (Tue, 08 Jun 2010)
New Revision: 62607
URL: http://svn.boost.org/trac/boost/changeset/62607

Log:
Added missing typename; fixes #3989
Text files modified:
   trunk/libs/multi_array/example/for_each.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/multi_array/example/for_each.hpp
==============================================================================
--- trunk/libs/multi_array/example/for_each.hpp (original)
+++ trunk/libs/multi_array/example/for_each.hpp 2010-06-08 18:56:21 EDT (Tue, 08 Jun 2010)
@@ -45,7 +45,7 @@
 template <typename Array, typename Functor>
 void for_each (Array& A, Functor xform) {
   // Dispatch to the proper function
- for_each(boost::type<Array::element>(),A.begin(),A.end(),xform);
+ for_each(boost::type<typename Array::element>(),A.begin(),A.end(),xform);
 }
 
 


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