Boost logo

Boost Users :

Subject: Re: [Boost-users] [variant][graph] Conflict ?
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-01-14 12:15:44


On Thu, 14 Jan 2010, Maxime van Noppen wrote:

> Jeremiah Willcock wrote:
>> Yes, there is a conflict like you said. Both libraries define
>> boost::get, and Variant's non-deducible template parameter makes the
>> normal overload resolution mechanisms in C++ fail. I do not have a good
>> workaround for that; BGL's get might be safe to have in a nested
>> namespace since it's not supposed to be called qualified AFAIK, but
>> people are likely to be calling it that way.
>
> Thanks for your answer. Is this something that will get fixed ? Maybe in
> 1.42 ?

I do not believe there is a reasonable way to fix it. One of the
libraries would probably need to change their function name, leading to
backward compatibility issues.

-- Jeremiah Willcock


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