Boost logo

Boost :

Subject: Re: [boost] [Fusion] Tentative of trasnform_if failed :(
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2011-04-19 19:19:19


On Tue, Apr 19, 2011 at 2:11 PM, falcou <Joel.Falcou_at_[hidden]> wrote:

> On Tue, 19 Apr 2011 22:42:01 +0200, Christopher Schmidt
> <mr.chr.schmidt_at_[hidden]> wrote:
> > "Jeffrey Lee Hellrung, Jr." <jeffrey.hellrung_at_[hidden]> writes:
> >
> > [...]
> >
> >> Could this be considered a Boost.Fusion bug? Seems like it would be
> >> Boost.Fusion's job to insulate any template parameters it receives from
> >> unintentional lambda substitution. [I making this comment under the
> >> assumption that I understand the problem, which may not be the case.]
> >>
> >> - Jeff
> >
> > Yes, this is definitely a bug in Fusion.
> >
>
> I worked around it by adding a lambda myself in transform_if
> so it si definetively fixable.
>

Oh, sure, of course, but there should be nothing wrong with your original
attempt, and (to me) it's pretty subtle what the problem is.

I'll file a trac ticket, just so it's in the database.

- Jeff


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk