This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH for c++/48322 (broken handling of variadic parms on multiple levels)
2011/11/21 Daniel Krügler <daniel.kruegler@googlemail.com>:
> 2011/11/21 Jason Merrill <jason@redhat.com>:
>> On 11/20/2011 08:02 PM, Paolo Carlini wrote:
>>>
>>> .. also, I was under the impression that c++/48322 was the only reason
>>> we couldn't write something very simple, thus no __all_convertible, ie,
>>> something using directly:
>>>
>>> enable_if<__and_<is_convertible<_UElements, _Elements>...>::value>::type
>>
>> Yep, you can do that now.
>
> Yes, __all_convertible is a relict that made sense, before __and_
> was introduced.
To be more precise here: The direct expansion did raise compiler
errors at that time, which seem to be fixed now.
- Daniel