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:
@ -57,7 +57,7 @@ struct test_func
|
||||
typedef long result_type;
|
||||
|
||||
template <typename T>
|
||||
long operator()(T & elem, long value) const
|
||||
long operator()(long value, T & elem) const
|
||||
{
|
||||
elem += sizeof(T);
|
||||
return value + elem;
|
||||
|
Reference in New Issue
Block a user