Boost logo

Boost Users :

Subject: Re: [Boost-users] trac ticket 4697 submitted (was Re: [Fusion] How to join more than two sequences
From: Christopher Schmidt (mr.chr.schmidt_at_[hidden])
Date: 2010-10-06 13:55:06


Larry Evans schrieb:
[snip]
> Thanks. I made the changes you suggest above; however, it still
> fails to compile without variadic fusion. The changed source
> is attached.

Argh, yes. That's a minor bug in 1.44; the propagation of the
const-qualifier of the states in the result metafunction of fold is
broken. That's fixed in 1.45 .
Replace

<boost/fusion/algorithm/iteration/detail/fold.hpp>

with

https://svn.boost.org/svn/boost/trunk/boost/fusion/algorithm/iteration/detail/fold.hpp

and your code should compile fine.

>
[snip]
>
> Thanks very much for the explanation Christopher.

No problem.

-Christopher


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net