|
Boost Users : |
Subject: Re: [Boost-users] [Range.Ex / String.Algo] Ambiguous call to overload function "find"
From: Neil Groves (neil_at_[hidden])
Date: 2009-07-06 13:14:48
On Mon, Jul 6, 2009 at 5:42 PM, S.C. Leung <shaochiliang_at_[hidden]> wrote:
> No, where can I get the patch. Is it in the range_ex.zip?
>
It's attached in this thread in a previous post. It's not a patch for range
because range correctly has protection against accidental ADL. If the
problem is accidental ADL the defect is in Boost.Algorithm. I, however,
cannot explain how a std::string would cause an ADL problem internally
within a boost namespace. I simply provided the file to eliminate or confirm
Thorsten's hypothesis.
I'll send the file again to you at your email address. It needs to replace
<boost/algorithm/string/find.hpp>.
Regards,
Neil Groves
>
> 2009/7/6 Neil Groves <neil_at_[hidden]>
>
>>
>> On Mon, Jul 6, 2009 at 3:22 PM, S.C. Leung <shaochiliang_at_[hidden]>wrote:
>>
>>> Hello, Thorsten:
>>> Have you test my case and had the same problem with me? Does it mean that
>>> the library should call the function explicitly?
>>>
>>
>> Did you try the patch for Boost.Algorithm that I supplied in my last post?
>> This will confirm / deny accidental ADL as the cause.
>>
>> It is the next logical debugging step.
>>
>>
>>>
>>> Thanks!
>>> S.C. Leung
>>>
>>
>> Regards,
>> Neil Groves
>>
>> [...]
>>
>>
>> _______________________________________________
>> Boost-users mailing list
>> Boost-users_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
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