Boost logo

Boost :

From: dan marsden (danmarsden_at_[hidden])
Date: 2007-06-13 16:38:43

Christian Holmquist wrote:
>In order to use the latest result_of mechanism in fusion, I updated my
>working copy from cvs head a couple of hours ago.
>The following example from the fusion documentation asserts, and I
>experienced similiar behaviour in my code, which stopped working.
>The generated string in the example is "21", not "12" as expected.
>Is there something with fold() that have changed?

Yes, some loop unrolling was added to the algorithms, incorrectly in this case
as you've found. Fold and accumulate have been corrected in cvs head. I've
also tightened up our unit tests, as this regression was not picked up in the

Thanks for spotting this one.



Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today*

Boost list run by bdawes at, gregod at, cpdaniel at, john at