mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-17 14:22:13 +02:00
fix for #2355: discrepancy between std::accumulate and fusion::accumulate
[SVN r57125]
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user