Modify

Opened 9 years ago

Closed 8 years ago

Last modified 7 years ago

#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)

fusion.diff.bz2 (41.2 KB) - added by Christopher Schmidt 8 years ago.
note: the actual patch exceeds the 256kb file size limit
proto.diff (1.8 KB) - added by Christopher Schmidt 8 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 8 years ago by Christopher Schmidt

Owner: changed from Joel de Guzman to Christopher Schmidt
Status: newassigned

I am on it.

Changed 8 years ago by Christopher Schmidt

Attachment: fusion.diff.bz2 added

note: the actual patch exceeds the 256kb file size limit

Changed 8 years ago by Christopher Schmidt

Attachment: proto.diff added

comment:2 Changed 8 years ago by Christopher Schmidt

Cc: mr.chr.schmidt@… added
Milestone: Boost 1.37.0Boost 1.42.0
Owner: changed from Christopher Schmidt to Joel de Guzman
Severity: ProblemCosmetic
Status: assignednew
Version: Boost 1.36.0Boost Development Trunk

comment:3 Changed 8 years ago by Christopher Schmidt

Resolution: fixed
Status: newclosed

comment:4 Changed 7 years ago by ivg@…

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.

comment:5 Changed 7 years ago by anonymous

+1

I just spent 2 hours unnecessary debugging after upgrading

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Joel de Guzman.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.