On 18/01/2014 04:10 p.m., Antony Polukhin wrote:
2014/1/18 Agustín K-ballo Bergé
On 18/01/2014 02:32 p.m., Antony Polukhin wrote:
* users that use BOOST_VARIANT_LIMIT_TYPES won't get silent templates errors and will be able to take care about the issues.
Any ideas about how to make transition smoother are welcomed!
I will continue thinking about this. I find unfortunate that users are forced to provide different codes for variadic and non-variadic cases. Worse, the compilation errors do not point to `variant` at all, and one would not usually suspect that a macro named `ENUM` does not enumerate anymore.
And how about defining BOOST_VARIANT_LIMIT_TYPES to something like "To resolve this issue see following link [link to description of the problem and its possible fixes]"?
That would be a good last resort solution. Regards, -- Agustín K-ballo Bergé.- http://talesofcpp.fusionfenix.com