Re: Problem with Phoenix v2

Joel de Guzman <[email protected]> Thu, 03 Feb 2011 08:29:37 +0800
Newsgroups gmane.comp.parsers.spirit.devel
Message-ID <[email protected]>
On 2/2/11 11:38 PM, Mathias Gaunard wrote:
> The attached testcase demonstrates a problem with Phoenix v2.
>
> The deduced type passed to apply_nary is bool, even though it should be
> an iterator_range of filter_iterator.
>
> The testcase works correctly with Phoenix v3.
>
> The non-functional version is also provided for reference and testing.
>
> The testcase is available both as a fully functional version and a
> somewhat simplified version because when I explained the problem to
> Thomas Heller he claimed the problems were due to nested lambdas or
> rvalues, which isn't the case.

I haven't looked yet, but it's looking like the crude type deduction
mechanism in phx2. I'll investigate ASAP. Thanks, Mathias.

Regards,
-- 
Joel de Guzman
http://www.boostpro.com
http://spirit.sf.net




------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d