Applied patch; refs #2823; will merge to release once tests cycle

[SVN r67745]
This commit is contained in:
Marshall Clow
2011-01-07 01:17:40 +00:00
parent c15dd57405
commit d4f11a0537

View File

@ -48,7 +48,8 @@ namespace boost { namespace fusion { namespace detail
static type static type
call(First const& f, Last const& l) call(First const& f, Last const& l)
{ {
return type(*f, next_build_cons::call(fusion::next(f), l)); typename result_of::value_of<First>::type v = *f;
return type(v, next_build_cons::call(fusion::next(f), l));
} }
}; };