[Joke] C++ and D namings
Walter Bright
newshound2 at digitalmars.com
Thu Jan 21 09:47:07 UTC 2021
On 1/19/2021 5:04 PM, Andrei Alexandrescu wrote:
> On 1/19/21 4:50 PM, Q. Schroll wrote:
>> In C++, the noexcept specifier means you cannot throw anything.
>> In D, the nothrow specifier means you cannot throw Exceptions, but anything
>> else.
>
> Except that in C++, noexcept really means you can throw anything but you're not
> supposed to. Important distinction...
Time for throwing "soSueMe".
More information about the Digitalmars-d
mailing list