Boost logo

Boost :

Subject: Re: [boost] [Fusion] Tentative of trasnform_if failed :(
From: falcou (Joel.Falcou_at_[hidden])
Date: 2011-04-19 15:01:36


On Tue, 19 Apr 2011 20:57:52 +0200, Christopher Schmidt

> The MPL lambda template type parameter of the functor that is passed to
> Fusion causes the trouble. This functor is used by Fusion as a template
> type parameter for an internal metafunction class which turns into an
> (invalid) lambda expression due to the nested placeholder. Making
> 'preds' a metafunction class, e.g. via mpl::quote1, should make your
> code compile fine.

I figured that. Using mpl::lambda also fixes the problem. Glad it is only
that ^^
Thanks for the insight :)


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