Subject: Re: [boost] [fusion.adapted.std_tuple] bug
From: Agustín K-ballo Bergé (kaballo86_at_[hidden])
Date: 2014-02-12 20:21:37
On 12/02/2014 10:11 p.m., Hui Li wrote:
> Looks like 2 files share the same include guard macro definitions.
> This makes it very hard to use Boost.Fusion for std::tuple's, especially if both boost::tuple and std::tuple need to be adapted.
> mbpro:fusion huil$ find . -type f |xargs grep -w BOOST_FUSION_CATEGORY_OF_IMPL_09272006_0726
> ./adapted/boost_tuple/detail/category_of_impl.hpp:#if !defined(BOOST_FUSION_CATEGORY_OF_IMPL_09272006_0726)
> ./adapted/boost_tuple/detail/category_of_impl.hpp:#define BOOST_FUSION_CATEGORY_OF_IMPL_09272006_0726
> ./adapted/std_tuple/detail/category_of_impl.hpp:#if !defined(BOOST_FUSION_CATEGORY_OF_IMPL_09272006_0726)
> ./adapted/std_tuple/detail/category_of_impl.hpp:#define BOOST_FUSION_CATEGORY_OF_IMPL_09272006_0726
This is a known issue, already fixed on trunk a while ago. The fix
didn't make it into master. See
https://svn.boost.org/trac/boost/ticket/8418 for a patch.
-- Agustín K-ballo Bergé.- http://talesofcpp.fusionfenix.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk