nothrow by default

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Fri Jan 10 16:32:33 UTC 2020


On Friday, 10 January 2020 at 16:01:26 UTC, Ola Fosheim Grøstad 
wrote:
> On Friday, 10 January 2020 at 15:43:35 UTC, Jesse Phillips 
> wrote:
>> C++ remove exception specification but kept `noexcept` and 
>> `throw()` both of which behave like the desired `throw` 
>> discussed here for D.
>
> No, "throw()" is not only deprecated, it is removed in C++20.

My searches come up empty handed, but I'm applying the incorrect 
semantics to throw(), that is equal to the noexcept semantics 
which is equal to D's nothrow. I don't see the same proposed 
semantics in c++.


More information about the Digitalmars-d mailing list