[Bug c++/86997] error: call of overloaded ‘NoDestructor()’ is ambiguous

2018-11-09 Thread jengelh at inai dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86997 Jan Engelhardt changed: What|Removed |Added CC||jengelh at inai dot de --- Comment #4

[Bug c++/86997] error: call of overloaded ‘NoDestructor()’ is ambiguous

2018-08-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86997 --- Comment #3 from Jonathan Wakely --- Don't write weird code? Either of these works fine and is obvious what it is supposed to do: NoDestructor b; NoDestructor b{}; The original is weird. Is it trying to construct an 'a' object and pass

[Bug c++/86997] error: call of overloaded ‘NoDestructor()’ is ambiguous

2018-08-21 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86997 --- Comment #2 from Martin Liška --- (In reply to Jonathan Wakely from comment #1) > Looks like a dup of PR 59389 Any easy workaround for it?

[Bug c++/86997] error: call of overloaded ‘NoDestructor()’ is ambiguous

2018-08-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86997 --- Comment #1 from Jonathan Wakely --- Looks like a dup of PR 59389

[Bug c++/86997] error: call of overloaded ‘NoDestructor()’ is ambiguous

2018-08-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86997 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|