Boost logo

Boost :

Subject: Re: [boost] [fusion] for_each on gcc 4.7
From: Joel de Guzman (joel_at_[hidden])
Date: 2012-06-20 19:36:47


On 6/20/2012 1:37 PM, Daniel Larimer wrote:
> I recently attempted to update to gcc 4.7 and code that compiled with 4.5.3 broke.
>
> It appears that boost::fusion expects boost::fusion::random_access_traversal_tag to implicitly cast to mpl::bool_<false>.
>
> Switching the 3rd argument from mpl::bool_<false> to an extra template arg (that was ignored), seems to fix the compilation errors.
>
> Compiled with std=c++11

Do you have a minimal test case?

Regards,

-- 
Joel de Guzman
http://www.boostpro.com
http://boost-spirit.com

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