nothrow by default

Paulo Pinto pjmlp at progtools.org
Thu Jan 9 13:42:29 UTC 2020


On Thursday, 9 January 2020 at 06:26:41 UTC, Walter Bright wrote:
> I'm aware that C++ is moving away from exceptions. I've been 
> unhappy with exceptions for some time now (DMD doesn't use them 
> for performance reasons), and C++ has evidently come to the 
> same conclusion.
>
> I expect that exceptions will soon become a legacy feature.

Value type exceptions as proposed by Herb and others are still 
exceptions.

Error codes are just to keep the "exceptions only over by dead 
body" crowd happy, and to try to move them away from 
non-compliant C++ with exceptions and RTTI turned off.

C++/WinRT turns COM error codes into C++ exceptions, Android NDK 
has C++ exceptions enabled by default.


More information about the Digitalmars-d mailing list