Regarding nothrow and @safe

Timon Gehr timon.gehr at gmx.ch
Sat Aug 20 11:23:11 PDT 2011


On 08/20/2011 08:18 PM, Sean Eskapp wrote:
> bearophile:
>> As far as I know they have decided to make memory overflow errors, so they are
> not exceptions, you can't catch them. Other people will confirm this or not.
>
> In this case, how would you go about handling out-of-memory situations? A systems
> programming language should certainly give the programmer the option to deal with
> this.

You can catch errors, if you want to deal with them.


More information about the Digitalmars-d-learn mailing list