fix for #2355: discrepancy between std::accumulate and fusion::accumulate

[SVN r57125]
This commit is contained in:
Christopher Schmidt
2009-10-24 10:59:01 +00:00
parent 43f861ca87
commit 35e469e2d5
266 changed files with 1625 additions and 1614 deletions

View File

@ -22,7 +22,7 @@ namespace
typedef int result_type;
template<int n, int batch>
int operator()(distinct<n, batch> const& d, int state) const
int operator()(int state, distinct<n, batch> const& d) const
{
return state + n;
}