October 27, 2020 General » Re: What does nothrow buy me? | |||
|---|---|---|---|
| |||
If the compiler doesn't have to think about recovery (i.e. errors should result... | |||
October 27, 2020 General » Re: What does nothrow buy me? | |||
|---|---|---|---|
| |||
But how does it help in the case of throwing an Error from a function... | |||
October 27, 2020 General » Re: What does nothrow buy me? | |||
|---|---|---|---|
| |||
It's also extremely useful for when D code is being called from other languages... | |||
October 27, 2020 General » Re: What does nothrow buy me? | |||
|---|---|---|---|
| |||
...to hang, so having these functions guaranteed `nothrow` can be valuable. Of course, this is... | |||
October 26, 2020 General » Re: Safe Regions with Deterministic Destruction | |||
|---|---|---|---|
| |||
...class))
{
@safe:
Node root() return scope pure nothrow @nogc { return _root; }
this(uint dummy) @trusted... | |||
October 26, 2020 General » Re: What does nothrow buy me? | |||
|---|---|---|---|
| |||
...unwinding code when throwing Errors. So yes, nothrow does win you some optimizations in some... | |||
October 26, 2020 General » Re: What does nothrow buy me? | |||
|---|---|---|---|
| |||
Isn't proper unwinding of the stack only required for Exceptions? | |||
October 26, 2020 General » What does nothrow buy me? | |||
|---|---|---|---|
| |||
Obviously, nothrow documents the behavior of a function and is checked when the code is... | |||
October 22, 2020 General » Re: Postmortem: Template unittests are bad & you shouldn't catch Error | |||
|---|---|---|---|
| |||
...means it can't be used in nothrow code. This argument has been had countless... | |||
October 22, 2020 General » Re: Either I'm confused or the gc is | |||
|---|---|---|---|
| |||
...C) nothrow void* core.thread.osthread.createLowLevelThread(void delegate() nothrow, uint, void delegate() nothrow).thread... | |||
Copyright © 1999-2021 by the D Language Foundation