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

Tim Shen via libstdc++ libstdc++@gcc.gnu.org
Mon May 22 18:10:00 GMT 2017


On Mon, May 22, 2017 at 11:05 AM, Tim Shen <timshen@google.com> wrote:
> On Mon, May 22, 2017 at 6:21 AM, Jonathan Wakely <jwakely@redhat.com> wrote:
> I suggest to cc a front-end person (Jason?) to take a look, as I
> suggested in the bug, and the example: https://godbolt.org/g/AxUv16.

See more discussion in pr80737. Basically in the godbolt example,
turning on and off -DBUG results in different behaviors, but it
shouldn't.


-- 
Regards,
Tim Shen



More information about the Libstdc++ mailing list