[Bug libstdc++/90246] std::bad_variant_access messages are not useful

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

[Bug libstdc++/90246] std::bad_variant_access messages are not useful

2019-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90246 --- Comment #4 from Jonathan Wakely --- Author: redi Date: Fri May 17 14:36:37 2019 New Revision: 271326 URL: https://gcc.gnu.org/viewcvs?rev=271326&root=gcc&view=rev Log: PR libstdc++/90246 Improve text of std::variant exceptions and assertions

[Bug libstdc++/90246] std::bad_variant_access messages are not useful

2019-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90246 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug libstdc++/90246] std::bad_variant_access messages are not useful

2019-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90246 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |9.2 Severity|normal

[Bug libstdc++/90246] std::bad_variant_access messages are not useful

2019-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90246 --- Comment #3 from Jonathan Wakely --- Yes. We can do that at some point in the future, not now.

[Bug libstdc++/90246] std::bad_variant_access messages are not useful

2019-04-25 Thread tavianator at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90246 Tavian Barnes changed: What|Removed |Added CC||tavianator at gmail dot com --- Comment

[Bug libstdc++/90246] std::bad_variant_access messages are not useful

2019-04-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90246 --- Comment #1 from Jonathan Wakely --- It's too late to change this now, but we could still improve the messages: --- a/libstdc++-v3/include/std/variant +++ b/libstdc++-v3/include/std/variant @@ -1200,10 +1200,12 @@ namespace __variant {

[Bug libstdc++/90246] std::bad_variant_access messages are not useful

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