nothrow by default

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Fri Jan 10 15:43:35 UTC 2020


On Sunday, 5 January 2020 at 13:51:33 UTC, Ola Fosheim Grøstad 
wrote:
>
> Anyway, C++ deprecated the the "throw" specifier in C++11 and 
> removed it  completely in C++20. Not sure why D users will be 
> more accepting of having to specify "throw".
>
> More patient user base perhaps.

C++ remove exception specification but kept `noexcept` and 
`throw()` both of which behave like the desired `throw` discussed 
here for D.




More information about the Digitalmars-d mailing list