
14 Jan
2010
14 Jan
'10
5:15 p.m.
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