
5 Sep
2011
5 Sep
'11
9:29 a.m.
On 09/05/2011 10:34 AM, Agustín K-ballo Bergé wrote:
Boost variant has a constructor and an assignment operator that would take just anything. If it cannot be converted to any of its bounded types, it will result in an error within variant's internals. This, mixed with conversion operators, interferes with overload resolution (code that reproduces the issue attached). Would SFINAE'ing out the non-candidate constructors (and assignments) fix this?
Yes it would. File a bug?