Boost logo

Boost-Commit :

From: tschwinger_at_[hidden]
Date: 2007-12-05 08:20:13


Author: t_schwinger
Date: 2007-12-05 08:20:13 EST (Wed, 05 Dec 2007)
New Revision: 41742
URL: http://svn.boost.org/trac/boost/changeset/41742

Log:
attempts to fix strange problems with Pathscale compilers

Text files modified:
   trunk/libs/function_types/example/interpreter.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/libs/function_types/example/interpreter.hpp
==============================================================================
--- trunk/libs/function_types/example/interpreter.hpp (original)
+++ trunk/libs/function_types/example/interpreter.hpp 2007-12-05 08:20:13 EST (Wed, 05 Dec 2007)
@@ -133,8 +133,9 @@
     void apply(Function func, token_parser & parser, Args const & args)
     {
       typedef typename mpl::deref<From>::type arg_type;
+ typedef typename mpl::next<From>::type next_iter_type;
 
- invoker<Function, typename mpl::next<From>::type, To>::apply
+ invoker<Function, next_iter_type, To>::apply
           ( func, parser, fusion::push_back(args, parser.get<arg_type>()) );
     }
   };


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