#2355 closed Bugs (fixed)
discrepancy between std::accumulate and fusion::accumulate
| Reported by: | Stjepan Rajko | Owned by: | Joel de Guzman |
|---|---|---|---|
| Milestone: | Boost 1.42.0 | Component: | fusion |
| Version: | Boost Development Trunk | Severity: | Cosmetic |
| Keywords: | Cc: | mr.chr.schmidt@… |
Description
std::accumulate expects binary functions which take the accumulator as the first argument and the sequence element as the second argument. fusion::accumulate expects the arguments in reverse.
Attachments (2)
Change History (7)
comment:1 by , 13 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
by , 13 years ago
| Attachment: | fusion.diff.bz2 added |
|---|
note: the actual patch exceeds the 256kb file size limit
by , 13 years ago
| Attachment: | proto.diff added |
|---|
comment:2 by , 13 years ago
| Cc: | added |
|---|---|
| Milestone: | Boost 1.37.0 → Boost 1.42.0 |
| Owner: | changed from to |
| Severity: | Problem → Cosmetic |
| Status: | assigned → new |
| Version: | Boost 1.36.0 → Boost Development Trunk |
comment:3 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
comment:4 by , 13 years ago
I think, that in future, it will be good to list such backward-compatibility breaking API changes explicitly under a big fat heading "Incompatible changes". Boost is a modest library that is widly used. It's not in alpha realease. So API must remain stable.
Note:
See TracTickets
for help on using tickets.

I am on it.