Boost logo

Boost :

Subject: Re: [boost] [fusion] compiler errors with empty boost::tuple
From: Joel de Guzman (joel_at_[hidden])
Date: 2009-03-19 22:12:11


Steven Watanabe wrote:
> AMDG
>
> Rutger ter Borg wrote:
>> I am experiencing a compiler error if I try to use a fusion join
>> function on
>> empty tuples. The operation I am trying to do does work with
>> fusion::vectors. See attached; I guess this is a bug?
>>
>
> Patch against the trunk attached.

I don't think it's a fusion problem. Boost.Tuple should give the
right answer for length<const tuple<> >. I patched Boost Tuple.
I can revert if there are objections (see my other post).

Regards,

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

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