On 18 May 2014 22:21, Daniel Krügler <
daniel....@gmail.com> wrote:
>> Well, apparently the core change you speak of leads to the defaulted special
>> member function being deleted (instead of being ill-formed as a declaration)
>> when a noexcept-spec has a mismatch. Fiddling
>> with that any further seems unwise, so yes, David's example is ok for
>> aggregate-init
>> and ill-formed for a case that actually uses the default constructor.
>> That's just fine
>> by me.
> I agree with the last part, but I interpreted your original response
> as if you would find generally the decision for explicitly
> noexcept-specifications unwise. I was (at least to some extend)
> disagreeing with that as a general rule).
Right. I still do find explicit noexcept-specifications on defaulted special
member functions unwise, and I do find the one in atomic<T> unwise.
I would've preferred requiring nothrow-default-constructibility from T, but
I don't care strongly enough to complain about that after the change,
since it went unnoticed by me earlier.