Merging fixes to release; fixes #2294 fixes #4918 fixes #3645 refs #2823 refs #1427 refs #2893

[SVN r67792]
This commit is contained in:
Marshall Clow
2011-01-08 18:38:08 +00:00
parent cd811f56bc
commit 94f5406936

View File

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