Optimizing for RVO

[SVN r35249]
This commit is contained in:
Joel de Guzman
2006-09-21 14:20:59 +00:00
parent 9267941ce3
commit 980fe1f6ab
10 changed files with 18 additions and 31 deletions

View File

@ -29,10 +29,10 @@ namespace boost { namespace fusion
typename Last::index, typename First::index>::type
call(First const&, Last const&)
{
static typename mpl::minus<
typedef typename mpl::minus<
typename Last::index, typename First::index>::type
result;
return result;
return result();
}
};
};