Re: [C++ Patch] PR 68754 ("Explicitly defaulted constexpr assignment operator fails to compile")

2017-09-29 Thread Nathan Sidwell
On 09/29/2017 10:04 AM, Paolo Carlini wrote: Hi, the main issue, a C++14 rejects-valid, is already fixed in trunk, and a while ago I added a testcase for that. However, Andrew noticed that in C++11 mode we emit redundant and also a bit puzzling diagnostic (ending with one of those annoying

[C++ Patch] PR 68754 ("Explicitly defaulted constexpr assignment operator fails to compile")

2017-09-29 Thread Paolo Carlini
Hi, the main issue, a C++14 rejects-valid, is already fixed in trunk, and a while ago I added a testcase for that. However, Andrew noticed that in C++11 mode we emit redundant and also a bit puzzling diagnostic (ending with one of those annoying "... because:" and nothing after which