[Patch] SFINAE on is_same first in variant's _Tp&& constructor

Tim Shen via gcc-patches gcc-patches@gcc.gnu.org
Sat May 20 06:13:00 GMT 2017


This fixes PR libstdc++/80737.

I actually can't come up with a minimal test case, because I suspect
that there is a front-end bug in GCC. See discussions in the bug.

Tested on x86_64-linux-gnu.

Thanks!


-- 
Regards,
Tim Shen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.diff
Type: text/x-patch
Size: 2329 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20170520/962497f8/attachment.bin>


More information about the Gcc-patches mailing list