[PATCH] RFC: remove std::tuple<T, U> partial specialization

Jonathan Wakely jwakely@redhat.com
Fri Aug 17 19:55:00 GMT 2018


On 17/08/18 22:46 +0300, Ville Voutilainen wrote:
>On 17 August 2018 at 22:29, Jonathan Wakely <jwakely@redhat.com> wrote:
>> That was added by https://gcc.gnu.org/ml/libstdc++/2016-12/msg00122.html
>> but I see no justification for that in the standard (and neither
>> libc++ nor MSFTL does anything special here, so they fail the test
>> too).
>>
>> Ville, I'm no longer convinced by your rationale. Why is that
>
>You mean the part where I said "the variadic constructor doesn't run
>into this problem"?

Yes. Either we shouldn't constrain our 2-tuple partial specialization,
or the standard should require it for the sizeof...(Types)==2 case.

>I may have been wrong about the variadic.

On 17/08/18 22:47 +0300, Ville Voutilainen wrote:
>So yes, I strongly think we should report a defect.

OK, I'll do that.




More information about the Libstdc++ mailing list