Subject: Re: [boost] [variant] Breaking change introduced by variadic support
From: Agustín K-ballo Bergé (kaballo86_at_[hidden])
Date: 2014-01-18 15:07:44
On 18/01/2014 04:10 p.m., Antony Polukhin wrote:
> 2014/1/18 Agustín K-ballo Bergé <kaballo86_at_[hidden]>
>> 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
> 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.
-- Agustín K-ballo Bergé.- http://talesofcpp.fusionfenix.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk