[Bug libstdc++/90165] std::variant constructs wrong alternative

2019-05-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90165 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Tue May 7 15:46:36 2019 New Revision: 270966 URL: https://gcc.gnu.org/viewcvs?rev=270966=gcc=rev Log: PR libstdc++/90165 constrain variant(T&&) constructor Backport from mainline

[Bug libstdc++/90165] std::variant constructs wrong alternative

2019-05-07 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90165 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/90165] std::variant constructs wrong alternative

2019-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90165 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid Known to work|

[Bug libstdc++/90165] std::variant constructs wrong alternative

2019-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90165 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Tue Apr 23 12:48:18 2019 New Revision: 270509 URL: https://gcc.gnu.org/viewcvs?rev=270509=gcc=rev Log: PR libstdc++/90165 constrain variant(T&&) constructor Also refactor some

[Bug libstdc++/90165] std::variant constructs wrong alternative

2019-04-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90165 --- Comment #2 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #1) > because we talk to apply this constraint: s/talk/fail/

[Bug libstdc++/90165] std::variant constructs wrong alternative

2019-04-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90165 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|