Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Fusion 1.41 issue ?
From: Surya Kiran Gullapalli (suryakiran.gullapalli_at_[hidden])
Date: 2009-11-20 13:36:23


On Thu, Nov 19, 2009 at 22:29, Joel de Guzman <joel_at_[hidden]>wrote:

> Surya Kiran Gullapalli wrote:
>
>
>>
>> On Thu, Nov 19, 2009 at 12:41, Surya Kiran Gullapalli <
>> suryakiran.gullapalli_at_[hidden] <mailto:suryakiran.gullapalli_at_[hidden]>>
>> wrote:
>>
>> Hello,
>> he following test program fails to compile with Boost-1.41 on
>> msvc8.0 SP1. It was working fine with Boost-1.40.
>>
>> With Gcc-4.4.0 also it failed on linux.
>>
>
> fusion::make_vector now returns the numbered vectors for efficiency
> at compile time. Hence, your overloads will not catch them.
>
> line 25: error: no matching function for call to
> 'func(boost::fusion::vector2<int, int>)'
> ^^^^^^^
>
> Some metaprogramming should do the trick.
>

Thanks,
I'm able to solve it by PP metaprogramming. But this change was not
documented. Or did i miss that ?

Surya



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net